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