From 42a0e17097fbbc5a67802e0083e47b035df514d9 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 30 Mar 2012 00:29:50 +0900 Subject: [PATCH] save current field when field map dialog rejected --- aqt/importing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aqt/importing.py b/aqt/importing.py index a8292c866..b4bbcaab9 100644 --- a/aqt/importing.py +++ b/aqt/importing.py @@ -49,6 +49,9 @@ class ChangeMap(QDialog): self.field = None QDialog.accept(self) + def reject(self): + self.accept() + class ImportDialog(QDialog): def __init__(self, mw, importer):