Graphics/UMLDialog.py

branch
6_1_x
changeset 4646
cf9cb65c30dc
parent 4632
ca310db386ed
child 5389
9b1c800daff3
equal deleted inserted replaced
4644:99699903c454 4646:cf9cb65c30dc
360 360
361 except IndexError: 361 except IndexError:
362 self.__showInvalidDataMessage(filename) 362 self.__showInvalidDataMessage(filename)
363 return False 363 return False
364 364
365 # everything worked fine, so remember the file name 365 # everything worked fine, so remember the file name and set the
366 # window title
367 self.setWindowTitle(self.__diagramTypeString())
366 self.__fileName = filename 368 self.__fileName = filename
369
367 return True 370 return True
368 371
369 def __showInvalidDataMessage(self, filename, linenum=-1): 372 def __showInvalidDataMessage(self, filename, linenum=-1):
370 """ 373 """
371 Private slot to show a message dialog indicating an invalid data file. 374 Private slot to show a message dialog indicating an invalid data file.

eric ide

mercurial