mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:46:03 +00:00
UI: Options: Update app's group after removing
This commit is contained in:
parent
ec7c83e3fa
commit
9f6581205c
@ -284,7 +284,12 @@ void ApplicationsPage::setupTabBar()
|
||||
return;
|
||||
|
||||
conf()->removeAppGroup(index, index);
|
||||
|
||||
const int tabIndex = m_tabBar->currentIndex();
|
||||
m_tabBar->removeTab(index);
|
||||
if (tabIndex == m_tabBar->currentIndex()) {
|
||||
emit appGroupChanged();
|
||||
}
|
||||
|
||||
ctrl()->setOptEdited();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user