aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/partio/files/patch-src_tools_partedit.py
blob: b4839ac8f8e83b64c3519f0973cf0bdbb8e69951 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/tools/partedit.py.orig	2025-01-28 22:44:08 UTC
+++ src/tools/partedit.py
@@ -1080,7 +1080,7 @@ class PartEdit(QMainWindow):
     def dataDirtiedSlot(self, dirty):
         """ Sets the window title with or without "*" for dirty state """
 
-        title = self.data.filename
+        title = self.data.filename or ''
         if dirty:
             title += '*'
         self.setWindowTitle(title)