mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 13:35:31 +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 isPackaged;
|
||||||
bool isStartupEnabled;
|
bool isStartupEnabled;
|
||||||
std::wstring startupDisabledReason;
|
std::wstring startupDisabledReason;
|
||||||
std::unordered_map<std::wstring, bool> isModulesEnabledMap;
|
std::map<std::wstring, bool> isModulesEnabledMap;
|
||||||
bool isElevated;
|
bool isElevated;
|
||||||
bool isRunElevated;
|
bool isRunElevated;
|
||||||
bool isAdmin;
|
bool isAdmin;
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
#include "lowlevel_keyboard_event.h"
|
#include "lowlevel_keyboard_event.h"
|
||||||
#include <algorithm>
|
#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;
|
return modules;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -50,4 +50,4 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
PowertoyModule load_powertoy(const std::wstring& filename);
|
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