mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
CURA-5137 Reset to the global view when switching tabs
This commit is contained in:
parent
007529c9ec
commit
0e01e9a6a9
1 changed files with 1 additions and 0 deletions
|
@ -291,6 +291,7 @@ class Toolbox(QObject, Extension):
|
||||||
|
|
||||||
def setCurrentView(self, view = "plugins"):
|
def setCurrentView(self, view = "plugins"):
|
||||||
self._current_view = view
|
self._current_view = view
|
||||||
|
self._detail_view = False
|
||||||
self.viewChanged.emit()
|
self.viewChanged.emit()
|
||||||
|
|
||||||
@pyqtProperty(str, fset = setCurrentView, notify = viewChanged)
|
@pyqtProperty(str, fset = setCurrentView, notify = viewChanged)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue