mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Only reset marketplace page if the window isn't visible
CURA-8588
This commit is contained in:
parent
cb3ae0b3d1
commit
61a7203726
1 changed files with 2 additions and 1 deletions
|
|
@ -86,7 +86,8 @@ class Marketplace(Extension, QObject):
|
|||
self._window = CuraApplication.getInstance().createQmlComponent(path, {"manager": self})
|
||||
if self._window is None: # Still None? Failed to load the QML then.
|
||||
return
|
||||
self.setTabShown(0)
|
||||
if not self._window.isVisible():
|
||||
self.setTabShown(0)
|
||||
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