mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 14:41:21 +08:00
Fixed an issue of not being able to change settings for ColorPicker (#5351)
This commit is contained in:
parent
46ef13dd0f
commit
2fe84b7510
@ -4,8 +4,8 @@
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_LAUNCHER_NAME L"Color Picker"
|
||||
IDS_LAUNCHER_SETTINGS_DESC L"This feature requires Windows 10 version 1903 or higher"
|
||||
IDS_COLORPICKER_NAME L"ColorPicker"
|
||||
IDS_COLORPICKER_SETTINGS_DESC L"This feature requires Windows 10 version 1903 or higher"
|
||||
END
|
||||
|
||||
1 VERSIONINFO
|
||||
|
@ -45,7 +45,7 @@ private:
|
||||
public:
|
||||
ColorPicker()
|
||||
{
|
||||
app_name = GET_RESOURCE_STRING(IDS_LAUNCHER_NAME);
|
||||
app_name = GET_RESOURCE_STRING(IDS_COLORPICKER_NAME);
|
||||
}
|
||||
|
||||
~ColorPicker()
|
||||
@ -74,7 +74,7 @@ public:
|
||||
|
||||
// Create a Settings object.
|
||||
PowerToysSettings::Settings settings(hinstance, get_name());
|
||||
settings.set_description(GET_RESOURCE_STRING(IDS_LAUNCHER_SETTINGS_DESC));
|
||||
settings.set_description(GET_RESOURCE_STRING(IDS_COLORPICKER_SETTINGS_DESC));
|
||||
|
||||
settings.set_overview_link(L"https://aka.ms/PowerToysOverview_ColorPicker");
|
||||
|
||||
|
@ -12,5 +12,5 @@
|
||||
// Non-localizable
|
||||
//////////////////////////////
|
||||
|
||||
#define IDS_LAUNCHER_NAME 601
|
||||
#define IDS_LAUNCHER_SETTINGS_DESC 602
|
||||
#define IDS_COLORPICKER_NAME 601
|
||||
#define IDS_COLORPICKER_SETTINGS_DESC 602
|
||||
|
Loading…
Reference in New Issue
Block a user