Browse Source

Forgotten code (should be part of "Finishing code generation for file transfers")

Source commit: 25cb12acd2de514dd0bc3706489d3ec5f4f0182c
Martin Prikryl 9 years ago
parent
commit
ecdc42973f
1 changed files with 8 additions and 0 deletions
  1. 8 0
      source/forms/GenerateUrl.cpp

+ 8 - 0
source/forms/GenerateUrl.cpp

@@ -296,6 +296,14 @@ UnicodeString __fastcall TGenerateUrlDialog::GenerateUrl()
   return Result;
 }
 //---------------------------------------------------------------------------
+void __fastcall TGenerateUrlDialog::AddSampleDescription(UnicodeString & Description)
+{
+  if (FPathsSample)
+  {
+    Description += LoadStr(GENERATE_URL_FILE_SAMPLE) + L"\n";
+  }
+}
+//---------------------------------------------------------------------------
 UnicodeString __fastcall TGenerateUrlDialog::GenerateScript(UnicodeString & ScriptDescription)
 {
   UnicodeString Result;