diff --git a/src/calibre/gui2/dialogs/exim.py b/src/calibre/gui2/dialogs/exim.py index 85fd80eebd..cf1e9e993d 100644 --- a/src/calibre/gui2/dialogs/exim.py +++ b/src/calibre/gui2/dialogs/exim.py @@ -253,6 +253,12 @@ class EximDialog(Dialog): path = choose_dir(self, 'choose-export-folder-for-import', _('Select folder with exported data')) if path is None: return + if not question_dialog(self, _('Are you sure?'), _( + 'Importing calibre data means all libraries, settings, plugins, etc will be imported. This is' + ' a security risk, only proceed if the data you are importing was previously generated by you, using the calibre' + ' export functionality.' + )): + return try: self.importer = Importer(path) except Exception as e: