mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Better refresh button: now emits signal and re-instantiates zeroconf.
Signal emits let the UI display an empty list. Re-instantiation copes with network changes. Contributes to CURA-2372
This commit is contained in:
parent
1ed3fc7c37
commit
da4ea2e450
2 changed files with 8 additions and 4 deletions
|
@ -104,7 +104,6 @@ class DiscoverUM3Action(MachineAction):
|
|||
|
||||
def _createAdditionalComponentsView(self):
|
||||
Logger.log("d", "Creating additional ui components for UM3.")
|
||||
|
||||
path = QUrl.fromLocalFile(os.path.join(PluginRegistry.getInstance().getPluginPath("UM3NetworkPrinting"), "UM3InfoComponents.qml"))
|
||||
self.__additional_component = QQmlComponent(Application.getInstance()._engine, path)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue