CURA-5137 Reset to the global view when switching tabs

This commit is contained in:
Diego Prado Gesto 2018-04-03 17:24:05 +02:00
parent 007529c9ec
commit 0e01e9a6a9

View file

@ -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)