* BUG: Utility windows correctly take the focus when shown.

[GB.GTK3]
* BUG: Utility windows correctly take the focus when shown.



git-svn-id: svn://localhost/gambas/trunk@7819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-07-15 00:05:16 +00:00
parent a341bb730c
commit 92386d1a6e

View File

@ -641,6 +641,9 @@ void gMainWindow::setVisible(bool vl)
if (parent)
gtk_window_set_transient_for(GTK_WINDOW(border), GTK_WINDOW(parent->border));
if (!_no_take_focus)
present();
}
if (gApplication::mainWindow() == this)