Skip to content

Commit

Permalink
fixup! move handling of keyboard mapping file to KeyboardEventFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Oct 13, 2024
1 parent 36c8a49 commit 44dc1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/keyboard/keyboardeventfilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ QKeySequence KeyboardEventFilter::getKeySeq(QKeyEvent* e) {

void KeyboardEventFilter::setEnabled(bool enabled) {
m_enabled = enabled;
m_pConfig->set(ConfigKey("[Keyboard]", "Enabled"), ConfigValue(enabled));
m_pConfig->setValue(ConfigKey("[Keyboard]", "Enabled"), enabled);
emit shortcutsEnabled(enabled);
}

Expand Down

0 comments on commit 44dc1c8

Please sign in to comment.