I can't remember what the changes were

This commit is contained in:
Salvo 'LtWorf' Tomaselli
2015-03-12 10:21:01 +01:00
parent 221861be51
commit 7e1c2c964c
3 changed files with 9 additions and 10 deletions

View File

@@ -102,13 +102,12 @@ if __name__ == "__main__":
app.setApplicationName('relational')
ui = maingui.Ui_MainWindow()
Form = guihandler.relForm(ui)
form = guihandler.relForm(ui)
form.setStyleSheet("font: 12pt \"Dejavu Sans Bold\";");
#form.setFont(QtGui.QFont(""))
# if os.name=='nt':
Form.setFont(QtGui.QFont("Dejavu Sans Bold"))
ui.setupUi(Form)
Form.restore_settings()
ui.setupUi(form)
form.restore_settings()
for i in range(len(files)):
if not os.path.isfile(files[i]):
@@ -119,9 +118,9 @@ if __name__ == "__main__":
if defname.endswith(".csv"): # removes the extension
defname = defname[:-4]
print ('Loading file "%s" with name "%s"' % (files[i], defname))
Form.loadRelation(files[i], defname)
form.loadRelation(files[i], defname)
Form.show()
form.show()
sys.exit(app.exec_())
else:
printver(False)