From a938fcec7f8de273a7b7582bad233c73cc73ab62 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 13 Dec 2017 17:19:00 -0300 Subject: [PATCH] Fix ChangePixelFormatCommand label on keyboard shortcuts dialog when used without params --- data/strings/en.ini | 1 + src/app/commands/cmd_change_pixel_format.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/data/strings/en.ini b/data/strings/en.ini index 6d56f3e72..6867d2f63 100644 --- a/data/strings/en.ini +++ b/data/strings/en.ini @@ -197,6 +197,7 @@ ChangePixelFormat_Indexed = Indexed ChangePixelFormat_Indexed_OrderedDithering = Indexed with Ordered Dithering ChangePixelFormat_Indexed_OldDithering = Indexed with Old Dithering ChangePixelFormat_Indexed = Indexed +ChangePixelFormat_MoreOptions = More Options Clear = Clear ClearCel = Clear Cel CloseAllFiles = Close All Files diff --git a/src/app/commands/cmd_change_pixel_format.cpp b/src/app/commands/cmd_change_pixel_format.cpp index 2a7bcb385..4a5bf923d 100644 --- a/src/app/commands/cmd_change_pixel_format.cpp +++ b/src/app/commands/cmd_change_pixel_format.cpp @@ -512,6 +512,8 @@ std::string ChangePixelFormatCommand::onGetFriendlyName() const break; } } + else + conversion = Strings::commands_ChangePixelFormat_MoreOptions(); return fmt::format(getBaseFriendlyName(), conversion); }