No relation name is asked if the opening was aborted
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@70 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
parent
152a4cf536
commit
0a16e41a14
@ -125,7 +125,8 @@ class Ui_Form(object):
|
|||||||
#Default relation's name
|
#Default relation's name
|
||||||
f=str(filename.toUtf8()).split(os.sep) #Split the full path
|
f=str(filename.toUtf8()).split(os.sep) #Split the full path
|
||||||
defname=f[len(f)-1].lower() #Takes only the lowercase filename
|
defname=f[len(f)-1].lower() #Takes only the lowercase filename
|
||||||
|
if len(defname)==0:
|
||||||
|
return
|
||||||
use_csv=True
|
use_csv=True
|
||||||
|
|
||||||
if defname.endswith(".tlb"):
|
if defname.endswith(".tlb"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user