diff --git a/SPEx/.env b/SPEx/.env deleted file mode 100644 index 13452f2..0000000 --- a/SPEx/.env +++ /dev/null @@ -1 +0,0 @@ -PYTHONPATH = "${workspaceFolder}/spex/libbananasplit;${workspaceFolder}/spex/userInterface/compiledUI" diff --git a/SPEx/spex/guimain.py b/SPEx/spex/guimain.py index 83af685..4b59969 100644 --- a/SPEx/spex/guimain.py +++ b/SPEx/spex/guimain.py @@ -227,9 +227,9 @@ class bananaTitolo(PyQt5.QtWidgets.QWidget): # imposta predefiniti interfaccia da file #Data (la piu complicata) self.titoloui.chk_data.setChecked(self.conf.getParam('docStruct','outDate')) - self.titoloui.rad_datajpn.setChecked(self.conf.getParam('docStruct', 'outDateType') is 'jpn') - self.titoloui.rad_dataita.setChecked(self.conf.getParam('docStruct', 'outDateType') is 'it') - self.titoloui.rad_datausa.setChecked(self.conf.getParam('docStruct', 'outDateType') is 'usa') + self.titoloui.rad_datajpn.setChecked(self.conf.getParam('docStruct', 'outDateType') == 'jpn') + self.titoloui.rad_dataita.setChecked(self.conf.getParam('docStruct', 'outDateType') == 'it') + self.titoloui.rad_datausa.setChecked(self.conf.getParam('docStruct', 'outDateType') == 'usa') #Titolo self.titoloui.chk_titolo.setChecked(self.conf.getParam('docStruct','outTitle')) self.titoloui.spn_ncarat.setValue(self.conf.getParam('docStruct', 'maxTitleLen')) diff --git a/SPEx/spex/userInterface/__init__.py b/SPEx/spex/userInterface/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/SPEx/spex/userInterface/compiledUI/__init__.py b/SPEx/spex/userInterface/compiledUI/__init__.py new file mode 100644 index 0000000..e69de29