mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 16:36:55 +02:00
save settings when any checkable menu item changes
This commit is contained in:
parent
a436b59971
commit
af158a3a94
1 changed files with 1 additions and 0 deletions
|
@ -683,6 +683,7 @@ QAction* Menu::addCheckableActionToQMenuAndActionHash(QMenu* destinationMenu,
|
|||
QAction::NoRole, menuItemLocation);
|
||||
action->setCheckable(true);
|
||||
action->setChecked(checked);
|
||||
connect(action, SIGNAL(changed()), Application::getInstance(), SLOT(bumpSettings()));
|
||||
|
||||
return action;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue