Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cc73684

Browse files
authored
Merge pull request #15487 from timhoffm/fix-qt-window-behind
Fix window not always raised in Qt example
2 parents 03bc3c1 + 58a505a commit cc73684

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/user_interfaces/embedding_in_qt_sgskip.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,6 @@ def _update_canvas(self):
6969

7070
app = ApplicationWindow()
7171
app.show()
72+
app.activateWindow()
73+
app.raise_()
7274
qapp.exec_()

0 commit comments

Comments
 (0)