UI: Options: Update app's group after removing

This commit is contained in:
Nodir Temirkhodjaev 2022-03-12 12:14:56 +03:00
parent ec7c83e3fa
commit 9f6581205c

View File

@ -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();
});