Просмотр исходного кода

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

Source commit: 25cb12acd2de514dd0bc3706489d3ec5f4f0182c
Martin Prikryl 9 лет назад
Родитель
Сommit
ecdc42973f
1 измененных файлов с 8 добавлено и 0 удалено
  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;