Able to load non .csv files from UI

This commit is contained in:
Salvo 'LtWorf' Tomaselli 2015-06-04 22:38:25 +02:00
parent cd0e41b8d7
commit 92adb10bc6

View File

@ -330,6 +330,8 @@ class relForm(QtWidgets.QMainWindow):
if (name.endswith(".csv")): # removes the extension
name = name[:-4]
else:
name.replace('.','')
if not rtypes.is_valid_relation_name(name):
r = QtWidgets.QApplication.translate(