From 032c192ecc0244cd7f9af54a446a92e4e5b65531 Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Tue, 23 Apr 2024 17:44:23 +0200 Subject: [PATCH] _backup_error() -> _dialog_backup_error() --- picard/ui/options/maintenance.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/picard/ui/options/maintenance.py b/picard/ui/options/maintenance.py index 1a55d9873e0..77a712aa6ce 100644 --- a/picard/ui/options/maintenance.py +++ b/picard/ui/options/maintenance.py @@ -207,7 +207,7 @@ def _make_backup_filename(self, auto=False): _ext, ) - def _backup_error(self, dialog_title=None): + def _dialog_backup_error(self, dialog_title=None): if not dialog_title: dialog_title = _("Backup Configuration File") dialog = QtWidgets.QMessageBox( @@ -246,7 +246,7 @@ def save_backup(self): ) dialog.exec() else: - self._backup_error(dialog_title) + self._dialog_backup_error(dialog_title) def load_backup(self): dialog_title = _("Load Backup Configuration File") @@ -266,7 +266,7 @@ def load_backup(self): config = get_config() filename = os.path.join(directory, self._make_backup_filename(auto=True)) if not config.save_user_backup(filename): - self._backup_error() + self._dialog_backup_error() return ext = os.path.splitext(filename)[1]