File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -365,8 +365,4 @@ object FormTrackerModify: TFormTrackerModify
365365 end
366366 end
367367 end
368- object MainMenu1: TMainMenu
369- left = 360
370- top = 12
371- end
372368end
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ TFormTrackerModify = class(TForm)
3434 GroupBoxNewTracker: TGroupBox;
3535 GroupBoxPresentTracker: TGroupBox;
3636 MainMenu: TMainMenu;
37- MainMenu1: TMainMenu;
3837 MemoNewTrackers: TMemo;
3938 MenuFile: TMenuItem;
4039 MenuFileTorrentFolder: TMenuItem;
@@ -320,9 +319,13 @@ procedure TFormTrackerModify.MenuItemOnlineCheckSubmitNewTrackonClick(Sender: TO
320319 TrackerSendCount: integer;
321320 PopupStr: string;
322321begin
323-
324- SendStatus := FControlerTrackerListOnline.SubmitTrackers(
325- FTrackerList.TrackerFromInsideTorrentFilesList, TrackerSendCount);
322+ try
323+ screen.Cursor := crHourGlass;
324+ SendStatus := FControlerTrackerListOnline.SubmitTrackers(
325+ FTrackerList.TrackerFromInsideTorrentFilesList, TrackerSendCount);
326+ finally
327+ screen.Cursor := crDefault;
328+ end ;
326329
327330 if SendStatus then
328331 begin
@@ -397,7 +400,10 @@ procedure TFormTrackerModify.ShowUserErrorMessage(const ErrorText: string;
397400 end
398401 else
399402 begin
400- Application.MessageBox(PChar(@ErrorText[1 ]), PChar(@FormText[1 ]), MB_ICONERROR);
403+ if FormText = ' ' then
404+ Application.MessageBox(PChar(@ErrorText[1 ]), ' ' , MB_ICONERROR)
405+ else
406+ Application.MessageBox(PChar(@ErrorText[1 ]), PChar(@FormText[1 ]), MB_ICONERROR);
401407 end ;
402408end ;
403409
You can’t perform that action at this time.
0 commit comments