[GB.GTK]
* 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:
parent
a341bb730c
commit
92386d1a6e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user