From: Jean-Philippe ARGAUD Date: Mon, 7 Jan 2019 13:02:33 +0000 (+0100) Subject: Re-JPA : annulation ouverture fichier X-Git-Tag: merge_8.5^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b726229a4063bb86b17f9b838950fbd169da76d6;p=tools%2Feficas.git Re-JPA : annulation ouverture fichier --- diff --git a/InterfaceQT4/viewManager.py b/InterfaceQT4/viewManager.py index 0050a294..22de6587 100644 --- a/InterfaceQT4/viewManager.py +++ b/InterfaceQT4/viewManager.py @@ -76,6 +76,7 @@ class MyViewManager(object): self.appliEficas.maConfiguration.savedir, extensions) fichier=fichier[0] + if len(fichier) == 0: return None fichier = os.path.abspath(six.text_type(fichier)) ulfile = os.path.abspath(six.text_type(fichier)) self.appliEficas.maConfiguration.savedir=os.path.split(ulfile)[0]