浏览代码

Bug 1825: Confirmation to close WinSCP does not have a help page associated (to explain the workspace)

https://winscp.net/tracker/1825

Source commit: 292ff7bef12a05fa5b2553d38e8b0f842ee67bd1
Martin Prikryl 5 年之前
父节点
当前提交
880fd87c62
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      source/forms/CustomScpExplorer.cpp
  2. 1 0
      source/resource/HelpWin.h

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -4954,7 +4954,7 @@ void __fastcall TCustomScpExplorerForm::FormCloseQuery(TObject * /*Sender*/,
 
 
       SetFocus();
       SetFocus();
       Result = MessageDialog(Message, qtConfirmation,
       Result = MessageDialog(Message, qtConfirmation,
-        Answers, HELP_NONE, &Params);
+        Answers, HELP_CLOSE_SESSION_WORKSPACE, &Params);
 
 
       if (Result == qaNeverAskAgain)
       if (Result == qaNeverAskAgain)
       {
       {

+ 1 - 0
source/resource/HelpWin.h

@@ -67,5 +67,6 @@
 #define HELP_AUTOMATIC_UPDATE        "updates#automatic_upgrade"
 #define HELP_AUTOMATIC_UPDATE        "updates#automatic_upgrade"
 #define HELP_SITE_RAW                "ui_login_raw"
 #define HELP_SITE_RAW                "ui_login_raw"
 #define HELP_PUTTY_SETTINGS          "ui_login_environment#putty"
 #define HELP_PUTTY_SETTINGS          "ui_login_environment#putty"
+#define HELP_CLOSE_SESSION_WORKSPACE "workspace"
 
 
 #endif // TextsWin
 #endif // TextsWin