From 3927c2d78ced7f89c9d6588d5cbb053a5dc8cdca Mon Sep 17 00:00:00 2001 From: Benau Date: Fri, 11 Oct 2019 23:05:08 +0800 Subject: [PATCH] Save network permission configuration when leaving dialog --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 07244248e..8252b4e9c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1898,6 +1898,7 @@ void askForInternetPermission() if (need_to_start_news_manager) NewsManager::get()->init(false); #endif + user_config->saveConfig(); GUIEngine::ModalDialog::dismiss(); } // onConfirm // --------------------------------------------------------