diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2011-06-10 12:19:14 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2011-06-10 12:19:14 -0400 |
commit | 7274c0f2c189f44af977015cb235a35447bf454f (patch) | |
tree | 63070a2b01f3be61d4045f3c767c92c1640db100 | |
parent | 086e6be0ec7413cebf8494a716866764a84550df (diff) |
Set modal for a_Dialog_choice5
- Prevents multiple dialogs for repeated Ctrl-q
- Re-enables window dialog closing with Escape key
-rw-r--r-- | src/dialog.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dialog.cc b/src/dialog.cc index 6de295cc..3f4f5933 100644 --- a/src/dialog.cc +++ b/src/dialog.cc @@ -173,6 +173,7 @@ int a_Dialog_choice5(const char *QuestionTxt, ww = 140 + nb*(bw+10); Fl_Window *window = new Fl_Window(ww,wh,"Choice5"); + window->set_modal(); window->begin(); Fl_Group* ib = new Fl_Group(0,0,window->w(),window->h()); ib->begin(); |