Browse Source

Document why we set endTime to the current date initially

Contributes to issue CURA-3161.
Ghostkeeper 8 years ago
parent
commit
d705fb1d76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/qml/PrintMonitor.qml

+ 1 - 1
resources/qml/PrintMonitor.qml

@@ -274,7 +274,7 @@ Column
             running: false
             repeat: true
             onTriggered: update()
-            property var endTime: new Date()
+            property var endTime: new Date() //Set initial endTime to be the current date, so that the endTime has initially already passed and the timer text becomes invisible if you were to update.
             function update()
             {
                 var now = new Date();