From 40bc08f482bd9529be1a8f00f41b9b3fbf5a8109 Mon Sep 17 00:00:00 2001 From: Saumya Jain Date: Thu, 14 Mar 2024 17:09:11 +0100 Subject: [PATCH] Apparantly the first time override is written it is not overriden by next upload. Now, it does CURA-11720 --- plugins/3MFReader/WorkspaceDialog.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/3MFReader/WorkspaceDialog.qml b/plugins/3MFReader/WorkspaceDialog.qml index a8cdad92bd..f0f74b60b7 100644 --- a/plugins/3MFReader/WorkspaceDialog.qml +++ b/plugins/3MFReader/WorkspaceDialog.qml @@ -171,6 +171,7 @@ UM.Dialog WorkspaceRow { + id: numberOfOverrides leftLabelText: catalog.i18nc("@action:label", "Settings Loaded from UCP file") rightLabelText: catalog.i18ncp("@action:label", "%1 override", "%1 overrides", manager.exportedSettingModel.rowCount()).arg(manager.exportedSettingModel.rowCount()) buttonText: tableViewSpecificSettings.shouldBeVisible ? catalog.i18nc("@action:button", "Hide settings") : catalog.i18nc("@action:button", "Show settings") @@ -204,6 +205,7 @@ UM.Dialog { tableModel.clear() tableModel.rows = modelRows + numberOfOverrides.rightLabelText = catalog.i18ncp("@action:label", "%1 override", "%1 overrides", manager.exportedSettingModel.rowCount()).arg(manager.exportedSettingModel.rowCount()) } }