diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-01-27 12:50:34 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-01-27 12:50:34 +0000 |
| commit | 4e4032dead9aea6e419c1bc6999fc3287b9260fd (patch) | |
| tree | 114e3cc64fad3a2ff2174a8cd21cf24d2884b255 /src | |
| parent | Toolbars: Fix alt+x focus switching (diff) | |
| download | inkscape-4e4032dead9aea6e419c1bc6999fc3287b9260fd.tar.gz inkscape-4e4032dead9aea6e419c1bc6999fc3287b9260fd.zip | |
SpinButtonToolItem: Handle key events in correct order
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/widget/spin-button-tool-item.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widget/spin-button-tool-item.cpp b/src/ui/widget/spin-button-tool-item.cpp index cb6767445..7037d5014 100644 --- a/src/ui/widget/spin-button-tool-item.cpp +++ b/src/ui/widget/spin-button-tool-item.cpp @@ -358,13 +358,13 @@ SpinButtonToolItem::SpinButtonToolItem(const Glib::ustring name, // Handle button events auto btn_focus_in_event_cb = sigc::mem_fun(*this, &SpinButtonToolItem::on_btn_focus_in_event); - _btn->signal_focus_in_event().connect(btn_focus_in_event_cb); + _btn->signal_focus_in_event().connect(btn_focus_in_event_cb, false); auto btn_focus_out_event_cb = sigc::mem_fun(*this, &SpinButtonToolItem::on_btn_focus_out_event); - _btn->signal_focus_out_event().connect(btn_focus_out_event_cb); + _btn->signal_focus_out_event().connect(btn_focus_out_event_cb, false); auto btn_key_press_event_cb = sigc::mem_fun(*this, &SpinButtonToolItem::on_btn_key_press_event); - _btn->signal_key_press_event().connect(btn_key_press_event_cb); + _btn->signal_key_press_event().connect(btn_key_press_event_cb, false); _btn->add_events(Gdk::KEY_PRESS_MASK); |
