Add checking value in microseconds field in duration editor dialog
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 27 Jun 2018 17:13:06 +0300
changeset 2234 3da336a9664c
parent 2233 32445e3c9cfc
child 2235 d3751d43c390
Add checking value in microseconds field in duration editor dialog
dialogs/DurationEditorDialog.py
--- a/dialogs/DurationEditorDialog.py	Wed Jun 27 13:57:03 2018 +0300
+++ b/dialogs/DurationEditorDialog.py	Wed Jun 27 17:13:06 2018 +0300
@@ -157,7 +157,8 @@
         errors = []
         for control, name in [(self.Days, _("days")), (self.Hours, _("hours")),
                               (self.Minutes, _("minutes")), (self.Seconds, _("seconds")),
-                              (self.Milliseconds, _("milliseconds"))]:
+                              (self.Milliseconds, _("milliseconds")),
+                              (self.Microseconds, _("microseconds"))]:
             try:
                 float(control.GetValue())
             except ValueError: