mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Bring window into focus when it opens
It can be behind the Cura main window now, where the user won't see it if it was already open. Contributes to issue CURA-8556.
This commit is contained in:
parent
5897b3de38
commit
c35b1f4135
1 changed files with 2 additions and 1 deletions
|
@ -39,3 +39,4 @@ class Marketplace(Extension):
|
||||||
Logger.error(f"Failed to load QML for Marketplace window.")
|
Logger.error(f"Failed to load QML for Marketplace window.")
|
||||||
return
|
return
|
||||||
self._window.show()
|
self._window.show()
|
||||||
|
self._window.requestActivate() # Bring window into focus, if it was already open in the background.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue