mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 13:17:51 -06:00
CURA-4525 deselect after move to build plate and build plate change
This commit is contained in:
parent
2f965cc053
commit
e7e5729006
2 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue