This commit is contained in:
Tom LAVEILLE 2025-07-28 16:53:26 +02:00
parent 7a3814a429
commit d4b181ff61
2 changed files with 4 additions and 4 deletions

View File

@ -466,7 +466,7 @@ class AutoMap_Editor(QDialog, EDITOR_CLASS):
try: try:
cutLayout = layout_name.index("") cutLayout = layout_name.index("")
except NameError: except:
cutLayout = 0 cutLayout = 0
if cutLayout >= 1: if cutLayout >= 1:
@ -817,7 +817,7 @@ class AutoMap_Editor(QDialog, EDITOR_CLASS):
else: else:
TryMessage = False TryMessage = False
del self.QMBquestion del self.QMBquestion
except NameError: except:
TryMessage = True TryMessage = True
if TryMessage is True: if TryMessage is True:

View File

@ -3,7 +3,7 @@ import os.path
from pathlib import Path from pathlib import Path
from qgis.PyQt import uic from qgis.PyQt import uic
from qgis.PyQt.QtGui import QPixmap # from qgis.PyQt.QtGui import QPixmap
from qgis.PyQt.QtWidgets import QDialog from qgis.PyQt.QtWidgets import QDialog
from .tools.resources import devlog from .tools.resources import devlog