changeset 2079:4ea703ed7f15

Set modal for a_Dialog_choice5 - Prevents multiple dialogs for repeated Ctrl-q - Re-enables window dialog closing with Escape key
author Jorge Arellano Cid <jcid@dillo.org>
date Fri, 10 Jun 2011 12:19:14 -0400
parents 251b58748bfa
children ccf085a4fa9c
files src/dialog.cc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialog.cc	Fri Jun 10 12:08:13 2011 -0400
+++ b/src/dialog.cc	Fri Jun 10 12:19:14 2011 -0400
@@ -173,6 +173,7 @@
    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();