[Settings][Fix][Image Resizer ] Unused text box when selecting custom percent in new settings (#4344)

* save general settings to file upon launch

* ImageResizer: Added flags to disable and hide extra boxes

Co-authored-by: Lavius Motileng <laviusmotileng-ms>
This commit is contained in:
Lavius Motileng
2020-06-19 13:18:37 -07:00
committed by GitHub
parent 3bdd9a850f
commit 165365473f
4 changed files with 39 additions and 1 deletions

View File

@@ -291,6 +291,10 @@ void run_settings_window()
settings_isUserAnAdmin = L"false";
}
// create general settings file to initialze the settings file with installation configurations like :
// 1. Run on start up.
PTSettingsHelper::save_general_settings(save_settings.to_json());
std::wstring executable_args = L"\"";
executable_args.append(executable_path);
executable_args.append(L"\" ");