diff options
Diffstat (limited to 'src/ui.py')
-rw-r--r-- | src/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -93,10 +93,10 @@ class ElementEditorWindow(QMainWindow): root.addLayout(box) box.addWidget(QLabel("T")) - self.t1 = QLineEdit("1") + self.t1 = QLineEdit("%g" % self.pol.t1) self.t1.textChanged.connect(self.change_t) box.addWidget(self.t1) - self.t2 = QLineEdit("0") + self.t2 = QLineEdit("%g" % self.pol.t2) self.t2.textChanged.connect(self.change_t) box.addWidget(self.t2) |