mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02: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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user