mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Fix refresh of ChoosePrinterDialog not working
CURA-9278
This commit is contained in:
parent
017560480a
commit
1dc42cb69a
2 changed files with 11 additions and 3 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue