Browse Source

Move material estimate properties to sidebar as well

That's where they are used after all.

Contributes to issue CURA-4149.
Ghostkeeper 7 years ago
parent
commit
5866b759a8
2 changed files with 3 additions and 4 deletions
  1. 0 4
      resources/qml/JobSpecs.qml
  2. 3 0
      resources/qml/Sidebar.qml

+ 0 - 4
resources/qml/JobSpecs.qml

@@ -23,10 +23,6 @@ Item {
 
     UM.I18nCatalog { id: catalog; name:"cura"}
 
-    property variant printMaterialLengths: PrintInformation.materialLengths
-    property variant printMaterialWeights: PrintInformation.materialWeights
-    property variant printMaterialCosts: PrintInformation.materialCosts
-
     height: childrenRect.height
 
     Connections

+ 3 - 0
resources/qml/Sidebar.qml

@@ -27,6 +27,9 @@ Rectangle
 
     property variant printDuration: PrintInformation.currentPrintTime
     property variant printDurationPerFeature: PrintInformation.printTimesPerFeature
+    property variant printMaterialLengths: PrintInformation.materialLengths
+    property variant printMaterialWeights: PrintInformation.materialWeights
+    property variant printMaterialCosts: PrintInformation.materialCosts
 
     color: UM.Theme.getColor("sidebar")
     UM.I18nCatalog { id: catalog; name:"cura"}