diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2019-05-03 01:33:59 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2019-05-03 01:33:59 +0200 |
commit | 3d2e11a1eba4e8b5ff411c9d1e4be61f2c6321e8 (patch) | |
tree | 0b45ef1e9510d26e14bbda5678dc698ac3e37a59 | |
parent | 1c137af4c4049bad85511e584b8b5739e03ee5e4 (diff) |
Minor ui fixes
-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) |