mirror of
https://github.com/nqrduck/nqrduck-pulseprogrammer.git
synced 2024-12-22 15:47:47 +00:00
Fix duration display in edit form
This commit is contained in:
parent
f1eecd5959
commit
b9acf8d370
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ class EventOptionsWidget(QWidget):
|
|||
duration_label = QLabel("Duration:")
|
||||
duration_lineedit = QLineEdit()
|
||||
unit_label = QLabel("µs")
|
||||
duration_lineedit.setText(str(self.event.duration * Decimal(1e6)))
|
||||
duration_lineedit.setText("%.16g" % (self.event.duration * Decimal(1e6)))
|
||||
duration_layout.addWidget(duration_label)
|
||||
duration_layout.addWidget(duration_lineedit)
|
||||
duration_layout.addWidget(unit_label)
|
||||
|
|
Loading…
Reference in a new issue