Config method changed
svn: r6429
This commit is contained in:
@@ -116,7 +116,7 @@ class EditPrimary(ManagedWindow.ManagedWindow):
|
||||
def close(self,*obj):
|
||||
"""If the data has changed, give the user a chance to cancel
|
||||
the close window"""
|
||||
if not Config.get_dont_ask() and self.data_has_changed():
|
||||
if not Config.get(Config.DONT_ASK) and self.data_has_changed():
|
||||
SaveDialog(
|
||||
_('Save Changes?'),
|
||||
_('If you close without saving, the changes you '
|
||||
|
Reference in New Issue
Block a user