mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
add back missing function
This commit is contained in:
parent
641b3c21f7
commit
91e8e5812b
1 changed files with 8 additions and 0 deletions
|
@ -285,6 +285,14 @@ class WorkspaceDialog(QObject):
|
|||
except:
|
||||
pass
|
||||
|
||||
@pyqtSlot(bool)
|
||||
def _onVisibilityChanged(self, visible):
|
||||
if not visible:
|
||||
try:
|
||||
self._lock.release()
|
||||
except:
|
||||
pass
|
||||
|
||||
@pyqtSlot()
|
||||
def onOkButtonClicked(self):
|
||||
self._view.hide()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue