Thread: Possible bug?
View Single Post
Old 09-14-2021, 07:39 PM   #90
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 850
Karma: 3341026
Join Date: Jan 2017
Location: Poland
Device: Various
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.

Last edited by BeckyEbook; 09-14-2021 at 07:49 PM. Reason: Info about issue 580.
BeckyEbook is offline   Reply With Quote