Fixed an issue of not being able to change settings for ColorPicker (#5351)

This commit is contained in:
martinchrzan
2020-07-31 16:10:08 +02:00
committed by GitHub
parent 46ef13dd0f
commit 2fe84b7510
3 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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");

View File

@@ -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