mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 12:29:02 +08:00
CURA-5137 Reset to the global view when switching tabs
This commit is contained in:
parent
007529c9ec
commit
0e01e9a6a9
@ -291,6 +291,7 @@ class Toolbox(QObject, Extension):
|
||||
|
||||
def setCurrentView(self, view = "plugins"):
|
||||
self._current_view = view
|
||||
self._detail_view = False
|
||||
self.viewChanged.emit()
|
||||
|
||||
@pyqtProperty(str, fset = setCurrentView, notify = viewChanged)
|
||||
|
Loading…
x
Reference in New Issue
Block a user