Commits

Aleš Erjavec  committed 6f3cb8b

Fixed 'percent completed' formating in the status message.

  • Participants
  • Parent commits 49a8be8

Comments (0)

Files changed (2)

File Orange/OrangeCanvas/canvas/items/nodeitem.py

                 spec, _ = format_fields["progress"]
                 if spec != None:
                     progress_included = True
-                    progress_str = "{0}%".format(self.progress())
+                    progress_str = "{0:.0f}%".format(self.progress())
                     status_text.append(msg.format(progress=progress_str))
             else:
                 status_text.append(msg)

File Orange/OrangeWidgets/OWBaseWidget.py

     def setStatusMessage(self, text):
         if self.__statusMessage != text:
             self.__statusMessage = text
-            print "Status", text
             self.statusMessageChanged.emit(text)
 
     def statusMessage(self):