mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 14:13:55 -06:00
T466: Added disabling of view button
This commit is contained in:
parent
9da00563e5
commit
84add5be84
4 changed files with 15 additions and 3 deletions
|
@ -72,11 +72,11 @@ class GCODEReader(MeshReader):
|
|||
if not findAny():
|
||||
backend._pauseSlicing = False
|
||||
Application.getInstance().setHideSettings(False)
|
||||
Application.getInstance().getPrintInformation()._pre_sliced = False
|
||||
Application.getInstance().getPrintInformation().setPreSliced(False)
|
||||
else:
|
||||
backend._pauseSlicing = True
|
||||
backend.backendStateChange.emit(3)
|
||||
Application.getInstance().getPrintInformation()._pre_sliced = True
|
||||
Application.getInstance().getPrintInformation().setPreSliced(True)
|
||||
Application.getInstance().setHideSettings(True)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue