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:
@@ -249,6 +249,7 @@ class MainController(Controller):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def __newDB(self):
|
def __newDB(self):
|
||||||
|
"""Create new database file"""
|
||||||
if self.model.modified:
|
if self.model.modified:
|
||||||
if not Dialogs.Qst('Unsaved data - pyGTKtalog','Current database is not saved\nDo you really want to abandon it?').run():
|
if not Dialogs.Qst('Unsaved data - pyGTKtalog','Current database is not saved\nDo you really want to abandon it?').run():
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user