Преглед изворни кода

Adding help link to Add extension box and making the box wider

Source commit: c272fae531eb1c791a28e24b2c2e201d6ea3acfd
Martin Prikryl пре 5 година
родитељ
комит
575390b306
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 1
      source/forms/Preferences.cpp
  2. 1 0
      source/resource/HelpWin.h

+ 1 - 1
source/forms/Preferences.cpp

@@ -2626,7 +2626,7 @@ void __fastcall TPreferencesDialog::AddExtension()
   std::unique_ptr<TStrings> History(CloneStrings(CustomWinConfiguration->History[HistoryKey]));
   UnicodeString Path;
   if (InputDialog(LoadStr(ADD_EXTENSION_CAPTION), LoadStr(ADD_EXTENSION_PROMPT), Path,
-        HELP_NONE, History.get(), true) &&
+        HELP_ADD_EXTENSION, History.get(), true, NULL, true, 400) &&
       !Path.IsEmpty())
   {
     CustomWinConfiguration->History[HistoryKey] = History.get();

+ 1 - 0
source/resource/HelpWin.h

@@ -68,5 +68,6 @@
 #define HELP_SITE_RAW                "ui_login_raw"
 #define HELP_PUTTY_SETTINGS          "ui_login_environment#putty"
 #define HELP_CLOSE_SESSION_WORKSPACE "workspace"
+#define HELP_ADD_EXTENSION           "ui_pref_commands#extensions"
 
 #endif // TextsWin