mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 09:28:03 +08:00
Order PowerToys aplhabetically Settings (#1706)
* Order PowerToys aplhabetically in both Settings list and General Settings enable's list * Remove uneeded include
This commit is contained in:
parent
e85427f1da
commit
5a5b5292a1
@ -7,7 +7,7 @@ struct GeneralSettings
|
||||
bool isPackaged;
|
||||
bool isStartupEnabled;
|
||||
std::wstring startupDisabledReason;
|
||||
std::unordered_map<std::wstring, bool> isModulesEnabledMap;
|
||||
std::map<std::wstring, bool> isModulesEnabledMap;
|
||||
bool isElevated;
|
||||
bool isRunElevated;
|
||||
bool isAdmin;
|
||||
|
@ -3,9 +3,9 @@
|
||||
#include "lowlevel_keyboard_event.h"
|
||||
#include <algorithm>
|
||||
|
||||
std::unordered_map<std::wstring, PowertoyModule>& modules()
|
||||
std::map<std::wstring, PowertoyModule>& modules()
|
||||
{
|
||||
static std::unordered_map<std::wstring, PowertoyModule> modules;
|
||||
static std::map<std::wstring, PowertoyModule> modules;
|
||||
return modules;
|
||||
}
|
||||
|
||||
|
@ -50,4 +50,4 @@ private:
|
||||
};
|
||||
|
||||
PowertoyModule load_powertoy(const std::wstring& filename);
|
||||
std::unordered_map<std::wstring, PowertoyModule>& modules();
|
||||
std::map<std::wstring, PowertoyModule>& modules();
|
||||
|
Loading…
Reference in New Issue
Block a user