mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-01 16:24:41 +08: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
@ -38,4 +38,5 @@ class Marketplace(Extension):
|
||||
if self._window is None: # Still None? Failed to load the QML then.
|
||||
Logger.error(f"Failed to load QML for Marketplace window.")
|
||||
return
|
||||
self._window.show()
|
||||
self._window.show()
|
||||
self._window.requestActivate() # Bring window into focus, if it was already open in the background.
|
||||
|
Loading…
x
Reference in New Issue
Block a user