فهرست منبع

Fixing assertion when testing link actions with disconnected session

Reported by Michael Gruber

(cherry picked from commit d17d94d247170cf4894314639fd2d54fee435289)

Source commit: 969415f283fc895e0b1552b77b580416069769b5
Martin Prikryl 5 سال پیش
والد
کامیت
f784ea29e8
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      source/forms/CustomScpExplorer.cpp

+ 1 - 0
source/forms/CustomScpExplorer.cpp

@@ -6480,6 +6480,7 @@ bool __fastcall TCustomScpExplorerForm::CanAddEditLink(TOperationSide Side)
   return
     (IsSideLocalBrowser(Side) ||
      ((Terminal != NULL) &&
+      Terminal->Active &&
       Terminal->ResolvingSymlinks &&
       Terminal->IsCapable[fcSymbolicLink]));
 }