Fix calls to sig_db_dump/restore
issue2814
This commit is contained in:
1 parent
22084118c5
commit
45e58ca3f2
1 file changed
+2
-2
+2
-2
@@ -1312,7 +1312,7 @@ class Main(object):
|
||||
self.refresh_ssl()
|
||||
common.message(_("Database dropped successfully!"))
|
||||
|
||||
def sig_db_restore(self, widget):
|
||||
def sig_db_restore(self, widget=None):
|
||||
if not self.sig_logout(widget):
|
||||
return False
|
||||
filename = common.file_selection(_('Open Backup File to Restore...'),
|
||||
@@ -1354,7 +1354,7 @@ class Main(object):
|
||||
else:
|
||||
common.message(_('Database restore failed!'))
|
||||
|
||||
def sig_db_dump(self, widget):
|
||||
def sig_db_dump(self, widget=None):
|
||||
if not self.sig_logout(widget):
|
||||
return False
|
||||
dialog = DBBackupDrop(function='backup')
|
||||
|
||||
Reference in new issue
Block a user