Save side panel tabs order.

This commit is contained in:
Martín Lucas Golini
2025-01-01 16:18:26 -03:00
parent e0eb9d9096
commit cf84fc7cff
16 changed files with 131 additions and 41 deletions

View File

@@ -1134,13 +1134,6 @@ void ProjectBuildManager::buildSidePanelTab() {
mTab->setId( "build_tab" );
mTab->setTextAsFallback( true );
auto tabIndex = mSidePanel->getTabIndex( mTab );
if ( tabIndex > 0 ) {
auto prevTab = mSidePanel->getTab( tabIndex - 1 );
if ( prevTab && prevTab->getId() != "treeview_tab" )
mSidePanel->swapTabs( mTab, prevTab );
}
updateSidePanelTab();
}