diff --git a/qtgui/sessiontreecontroller.py b/qtgui/sessiontreecontroller.py index 0f1acfd..cc5cd10 100644 --- a/qtgui/sessiontreecontroller.py +++ b/qtgui/sessiontreecontroller.py @@ -95,6 +95,7 @@ class SessionItem(QtWidgets.QTreeWidgetItem): def setLocked(self, state:bool): """Number of clients, symlinks and size change frequently while a session is open/locked. We deactivate the display of these values while locked""" + return if not state == self.isDisabled(): self.setDisabled(state) if state: