Yes. The best solution is to use an existing function to indicate that a restart is required.
Add to KeyboardShortcutsWidget.h
Code:
bool m_EnableAltGr;
Add to void KeyboardShortcutsWidget::readSettings()
Code:
m_EnableAltGr = ui.EnableAltGr->isChecked();
PreferencesWidget::ResultActions KeyboardShortcutsWidget::saveSettings()
Code:
if (m_EnableAltGr != ui.EnableAltGr->isChecked()) {
results = results | PreferencesWidget::ResultAction_RestartSigil;
}
The enabled checkbox should fix issue 580 [partially].
Quote:
I think there is still a need for default sigil ini file just for international users, right?
|
Indeed, the OP is using mac on this issue and would like to remove/modify potentially conflicting shortcuts altogether.