diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-08 16:22:14 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-08 16:22:14 +0200 |
commit | 2778ac50551c5175125a066ba6b59cad6ce4e45b (patch) | |
tree | fd2446a47af588eef263fe85a0be4fdfe59a98ac /gui/options-dialog.cpp | |
parent | 744574a36be2914c6d4641a9fa6e76359a4e218e (diff) |
gui, tracker/{aruco,pt}: do action on button correct press, not button hold
Diffstat (limited to 'gui/options-dialog.cpp')
-rw-r--r-- | gui/options-dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp index 814cf298..c6e6dd97 100644 --- a/gui/options-dialog.cpp +++ b/gui/options-dialog.cpp @@ -104,7 +104,7 @@ OptionsDialog::OptionsDialog(std::function<void(bool)> pause_keybindings) : val.label, [=](const QString&) -> void { val.label->setText(kopts_to_string(val.opt)); }); { - connect(val.button, &QPushButton::pressed, this, [=]() -> void { bind_key(val.opt, val.label); }); + connect(val.button, &QPushButton::clicked, this, [=]() -> void { bind_key(val.opt, val.label); }); } } |