summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Menu_Type.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/fluid/Fl_Menu_Type.cxx b/fluid/Fl_Menu_Type.cxx
index 28f77175f..75679e835 100644
--- a/fluid/Fl_Menu_Type.cxx
+++ b/fluid/Fl_Menu_Type.cxx
@@ -708,6 +708,7 @@ void shortcut_in_cb(Fl_Shortcut_Button* i, void* v) {
i->parent()->hide();
return;
}
+ i->default_value( i->value() ); // enable the "undo" capability of the shortcut button
i->show();
i->parent()->show();
i->redraw();