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

force the focus on the file chooser when we show it
parent 225c5418
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ public:
: Fl_File_Chooser(d, p, t, title) {
_win = (Fl_Window*)newButton->parent()->parent();
}
void show(){ _win->show(); }
void show(){ _win->show(); _win->take_focus();}
void position(int x, int y){ _win->position(x,y);}
int x(){ return _win->x();}
int y(){ return _win->y();}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment