mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
Fixed an issue of not being able to change settings for ColorPicker (#5351)
This commit is contained in:
@@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
BEGIN
|
BEGIN
|
||||||
IDS_LAUNCHER_NAME L"Color Picker"
|
IDS_COLORPICKER_NAME L"ColorPicker"
|
||||||
IDS_LAUNCHER_SETTINGS_DESC L"This feature requires Windows 10 version 1903 or higher"
|
IDS_COLORPICKER_SETTINGS_DESC L"This feature requires Windows 10 version 1903 or higher"
|
||||||
END
|
END
|
||||||
|
|
||||||
1 VERSIONINFO
|
1 VERSIONINFO
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
ColorPicker()
|
ColorPicker()
|
||||||
{
|
{
|
||||||
app_name = GET_RESOURCE_STRING(IDS_LAUNCHER_NAME);
|
app_name = GET_RESOURCE_STRING(IDS_COLORPICKER_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
~ColorPicker()
|
~ColorPicker()
|
||||||
@@ -74,7 +74,7 @@ public:
|
|||||||
|
|
||||||
// Create a Settings object.
|
// Create a Settings object.
|
||||||
PowerToysSettings::Settings settings(hinstance, get_name());
|
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");
|
settings.set_overview_link(L"https://aka.ms/PowerToysOverview_ColorPicker");
|
||||||
|
|
||||||
|
|||||||
@@ -12,5 +12,5 @@
|
|||||||
// Non-localizable
|
// Non-localizable
|
||||||
//////////////////////////////
|
//////////////////////////////
|
||||||
|
|
||||||
#define IDS_LAUNCHER_NAME 601
|
#define IDS_COLORPICKER_NAME 601
|
||||||
#define IDS_LAUNCHER_SETTINGS_DESC 602
|
#define IDS_COLORPICKER_SETTINGS_DESC 602
|
||||||
|
|||||||
Reference in New Issue
Block a user