mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-14 06:52:52 +03:00
Save side panel tabs order.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user