summaryrefslogtreecommitdiff
path: root/src/main/python/DockWidgets/DockWidgetFlash.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/python/DockWidgets/DockWidgetFlash.py')
-rw-r--r--src/main/python/DockWidgets/DockWidgetFlash.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/python/DockWidgets/DockWidgetFlash.py b/src/main/python/DockWidgets/DockWidgetFlash.py
index a2abbeb..c001fe2 100644
--- a/src/main/python/DockWidgets/DockWidgetFlash.py
+++ b/src/main/python/DockWidgets/DockWidgetFlash.py
@@ -31,7 +31,7 @@ class DockWidgetFlash(QDockWidget,ui_dialog):
def input_params_list(self):
try:
self.l1.setText(self.obj.variables['thermo_package']['name']+":")
- self.lines = [line.rstrip('\n') for line in open('thermopackage.txt')]
+ self.lines = [line.rstrip('\n') for line in open(parentPath+'/python/utils/thermopackage.txt')]
for j in self.lines:
self.cb1.addItem(str(j))
self.cb1.setCurrentText(self.obj.variables['thermo_package']['value'])
@@ -47,6 +47,10 @@ class DockWidgetFlash(QDockWidget,ui_dialog):
self.check2.toggled.connect(self.fun)
self.check2.setChecked(self.obj.variables['BPdef']['value'])
+ self.le2.setFixedWidth(80)
+ self.le3.setFixedWidth(80)
+ self.cb1.setFixedWidth(80)
+
self.input_dict = [self.cb1, self.check1, self.le2, self.check2, self.le3]
except Exception as e: