mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-27 23:19:13 +08:00
[runner]fix disabling module as admin (#15818)
This commit is contained in:
parent
91d36b4b47
commit
b98be49bfa
@ -406,8 +406,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
||||
}
|
||||
|
||||
// Save settings on closing
|
||||
auto general_settings = load_general_settings();
|
||||
apply_general_settings(general_settings);
|
||||
auto general_settings = get_general_settings();
|
||||
PTSettingsHelper::save_general_settings(general_settings.to_json());
|
||||
|
||||
// We need to release the mutexes to be able to restart the application
|
||||
if (msi_mutex)
|
||||
|
Loading…
Reference in New Issue
Block a user