1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 11:30:19 +01:00

* Added description in docstring.

This commit is contained in:
2007-08-20 17:53:55 +00:00
parent 56e11e21ab
commit 610733ca33

View File

@@ -249,6 +249,7 @@ class MainController(Controller):
return False
def __newDB(self):
"""Create new database file"""
if self.model.modified:
if not Dialogs.Qst('Unsaved data - pyGTKtalog','Current database is not saved\nDo you really want to abandon it?').run():
return