From e7e5729006c244a3cc1fec88bb1f659eeeabc8e9 Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Wed, 3 Jan 2018 15:21:56 +0100 Subject: [PATCH] CURA-4525 deselect after move to build plate and build plate change --- cura/BuildPlateModel.py | 1 + cura/CuraActions.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/cura/BuildPlateModel.py b/cura/BuildPlateModel.py index 118a5ce271..2d558a91b9 100644 --- a/cura/BuildPlateModel.py +++ b/cura/BuildPlateModel.py @@ -28,6 +28,7 @@ class BuildPlateModel(ListModel): return Logger.log("d", "Select build plate: %s" % nr) self._active_build_plate = nr + Selection.clear() self.activeBuildPlateChanged.emit() diff --git a/cura/CuraActions.py b/cura/CuraActions.py index dbcd31f646..a55ef66e01 100644 --- a/cura/CuraActions.py +++ b/cura/CuraActions.py @@ -153,5 +153,7 @@ class CuraActions(QObject): operation.addOperation(SetBuildPlateNumberOperation(node, build_plate_nr)) operation.push() + Selection.clear() + def _openUrl(self, url): QDesktopServices.openUrl(url)