mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 16:59:01 +08:00
CURA-4525 deselect after move to build plate and build plate change
This commit is contained in:
parent
2f965cc053
commit
e7e5729006
@ -28,6 +28,7 @@ class BuildPlateModel(ListModel):
|
|||||||
return
|
return
|
||||||
Logger.log("d", "Select build plate: %s" % nr)
|
Logger.log("d", "Select build plate: %s" % nr)
|
||||||
self._active_build_plate = nr
|
self._active_build_plate = nr
|
||||||
|
Selection.clear()
|
||||||
|
|
||||||
self.activeBuildPlateChanged.emit()
|
self.activeBuildPlateChanged.emit()
|
||||||
|
|
||||||
|
@ -153,5 +153,7 @@ class CuraActions(QObject):
|
|||||||
operation.addOperation(SetBuildPlateNumberOperation(node, build_plate_nr))
|
operation.addOperation(SetBuildPlateNumberOperation(node, build_plate_nr))
|
||||||
operation.push()
|
operation.push()
|
||||||
|
|
||||||
|
Selection.clear()
|
||||||
|
|
||||||
def _openUrl(self, url):
|
def _openUrl(self, url):
|
||||||
QDesktopServices.openUrl(url)
|
QDesktopServices.openUrl(url)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user