Fix run method gui

master3.3
parent 6b6628783c
commit 072f480618

@ -42,6 +42,9 @@ class SelectedMethodWgt(QtGui.QWidget):
QtGui.QIcon.setThemeName('Calculate')
self.setWindowIcon(QtGui.QIcon \
('/usr/share/pixmaps/calculate-console-online.png'))
conf_path = self.VarsGui.Get('cl_gui_config_path')
homePath = self.VarsGui.Get('ur_home_path')
self.user_config = conf_path.replace("~",homePath)
if self.connect():
sys.exit(1)
@ -89,9 +92,6 @@ class SelectedMethodWgt(QtGui.QWidget):
pass
def get_size(self):
conf_path = self.VarsGui.Get('cl_gui_config_path')
homePath = self.VarsGui.Get('ur_home_path')
self.user_config = conf_path.replace("~",homePath)
self.config = ConfigParser.ConfigParser()
self.config.read(self.user_config)
try:

Loading…
Cancel
Save