Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2022-09-16 15:39:20 +0300
committerJaime van Kessel <nallath@gmail.com>2022-09-16 15:39:36 +0300
commit1dc42cb69aa0333a676de6e93f665956c53ac905 (patch)
tree86e613c5a0a18d7f00b8b706cbb35ebd56517eda /cura/Machines
parent017560480a89bf9a25366928c436eb2e56078ae3 (diff)
Fix refresh of ChoosePrinterDialog not workingCURA-9278_UI_UX_Fixes
CURA-9278
Diffstat (limited to 'cura/Machines')
-rw-r--r--cura/Machines/Models/CompatibleMachineModel.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cura/Machines/Models/CompatibleMachineModel.py b/cura/Machines/Models/CompatibleMachineModel.py
index 029567cdec..639bba88a0 100644
--- a/cura/Machines/Models/CompatibleMachineModel.py
+++ b/cura/Machines/Models/CompatibleMachineModel.py
@@ -31,6 +31,10 @@ class CompatibleMachineModel(ListModel):
machine_manager.globalContainerChanged.connect(self._update)
machine_manager.outputDevicesChanged.connect(self._update)
+ @pyqtSlot()
+ def forceUpdate(self):
+ self._update()
+
def _update(self) -> None:
self.clear()