From 9b00002f464bc66c55bcfeaf2ab0e1ca5e2a4f1e Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 23 Nov 2020 10:58:22 +0800 Subject: Fixes import/export pinyin dictionary --- setup/main2.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'setup') diff --git a/setup/main2.py b/setup/main2.py index f2d5847..9744838 100644 --- a/setup/main2.py +++ b/setup/main2.py @@ -448,6 +448,7 @@ class PreferencesDialog: response = dialog.run() if response == Gtk.ResponseType.OK: + self.__set_value("import-dictionary", "") self.__set_value("import-dictionary", dialog.get_filename()) dialog.destroy() @@ -469,6 +470,7 @@ class PreferencesDialog: response = dialog.run() if response == Gtk.ResponseType.OK: + self.__set_value("export-dictionary", "") self.__set_value("export-dictionary", dialog.get_filename()) dialog.destroy() -- cgit