Browse Source

Fix um s5 initially not showing up in printer list

CURA-10627
c.lamboo 1 year ago
parent
commit
bba1362bad
1 changed files with 3 additions and 1 deletions
  1. 3 1
      resources/qml/WelcomePages/AddLocalPrinterScrollView.qml

+ 3 - 1
resources/qml/WelcomePages/AddLocalPrinterScrollView.qml

@@ -1,4 +1,4 @@
-// Copyright (c) 2022 Ultimaker B.V.
+// Copyright (c) 2023 UltiMaker
 // Cura is released under the terms of the LGPLv3 or higher.
 
 import QtQuick 2.15
@@ -69,6 +69,8 @@ Item
         const initialSection = "Ultimaker B.V.";
         base.currentSections.add(initialSection);
         updateCurrentItemUponSectionChange(initialSection);
+        // Trigger update on base.currentSections
+        base.currentSections = base.currentSections;
     }
 
     Row