Skip to content
Snippets Groups Projects
Commit 38def40a authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

about_window should not be modal: it makes it hard to close the message_window
parent 00d42e8d
Branches
Tags
No related merge requests found
// $Id: GUI.cpp,v 1.430 2005-03-14 01:38:16 geuzaine Exp $
// $Id: GUI.cpp,v 1.431 2005-03-14 17:21:54 geuzaine Exp $
//
// Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
//
......@@ -3942,8 +3942,7 @@ void GUI::create_about_window()
int width = 33 * fontsize;
int height = 15 * BH;
// not a "Dialog_Window" since it is modal
about_window = new Fl_Double_Window(width, height, "About Gmsh");
about_window = new Dialog_Window(width, height, "About Gmsh");
about_window->box(GMSH_WINDOW_BOX);
{
......@@ -4002,8 +4001,6 @@ void GUI::create_about_window()
about_window->position(Fl::x() + Fl::w()/2 - width / 2,
Fl::y() + Fl::h()/2 - height / 2);
about_window->set_modal();
about_window->end();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment