eric7/IconEditor/IconEditorWindow.py

branch
eric7
changeset 9153
506e35e424d5
parent 9152
8a68afaf1ba2
child 9162
8b75b1668583
diff -r 8a68afaf1ba2 -r 506e35e424d5 eric7/IconEditor/IconEditorWindow.py
--- a/eric7/IconEditor/IconEditorWindow.py	Thu Jun 16 18:28:59 2022 +0200
+++ b/eric7/IconEditor/IconEditorWindow.py	Fri Jun 17 16:36:14 2022 +0200
@@ -1120,12 +1120,12 @@
                 self,
                 self.tr("Save icon file"),
                 self.tr("<p>The file <b>{0}</b> already exists."
-                        " Overwrite it?</p>").format(str(fpath)),
+                        " Overwrite it?</p>").format(fpath),
                 icon=EricMessageBox.Warning)
             if not res:
                 return False
         
-        self.__lastSavePath = fpath.parent
+        self.__lastSavePath = str(fpath.parent)
         
         return self.__saveIconFile(str(fpath))
     

eric ide

mercurial