Fixed an issue causing a wrong window title when a UML diagram was loaded.

Sat, 09 Jan 2016 17:19:05 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 09 Jan 2016 17:19:05 +0100
changeset 4645
3d6762252f04
parent 4642
f18d5fb9a53b
child 4647
5c50132b6463

Fixed an issue causing a wrong window title when a UML diagram was loaded.

Graphics/UMLDialog.py file | annotate | diff | comparison | revisions
diff -r f18d5fb9a53b -r 3d6762252f04 Graphics/UMLDialog.py
--- a/Graphics/UMLDialog.py	Fri Jan 08 22:14:39 2016 +0100
+++ b/Graphics/UMLDialog.py	Sat Jan 09 17:19:05 2016 +0100
@@ -362,8 +362,11 @@
             self.__showInvalidDataMessage(filename)
             return False
         
-        # everything worked fine, so remember the file name
+        # everything worked fine, so remember the file name and set the
+        # window title
+        self.setWindowTitle(self.__diagramTypeString())
         self.__fileName = filename
+        
         return True
     
     def __showInvalidDataMessage(self, filename, linenum=-1):

eric ide

mercurial