--- a/eric7/Graphics/UMLGraphicsView.py Thu Jun 16 18:28:59 2022 +0200 +++ b/eric7/Graphics/UMLGraphicsView.py Fri Jun 17 16:36:14 2022 +0200 @@ -379,7 +379,7 @@ self, self.tr("Save Diagram"), 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 @@ -392,7 +392,7 @@ self.tr("Save Diagram"), self.tr( """<p>The file <b>{0}</b> could not be saved.</p>""") - .format(str(fpath))) + .format(fpath)) def __relayout(self): """