Fix Carla breaking GUI on Wayland #7582 (#7966)

This commit is contained in:
Abel Umenhoffer
2025-07-06 18:08:31 -07:00
committed by GitHub
parent 5c7131aa45
commit a1da660741

View File

@@ -294,10 +294,10 @@ InstrumentTrackWindow::InstrumentTrackWindow( InstrumentTrackView * _itv ) :
vlayout->addWidget( m_pianoView );
setModel( _itv->model() );
updateInstrumentView();
QMdiSubWindow* subWin = getGUI()->mainWindow()->addWindowedWidget( this );
updateInstrumentView();
// The previous call should have given us a sub window parent. Therefore
// we can reuse this method.
updateSubWindow();