summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/checkbox.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/checkbox.cc b/plugingui/checkbox.cc
index abb01ce..faf3741 100644
--- a/plugingui/checkbox.cc
+++ b/plugingui/checkbox.cc
@@ -42,7 +42,7 @@ GUI::CheckBox::CheckBox(Widget *parent)
void GUI::CheckBox::buttonEvent(ButtonEvent *e)
{
- if(e->direction == -1) {
+ if(e->direction == -1 || e->doubleclick) {
state = !state;
middle = false;
if(handler) handler(ptr);