diff --git a/source/forms/ScpCommander.cpp b/source/forms/ScpCommander.cpp index c1c92f6f2..6135783ba 100644 --- a/source/forms/ScpCommander.cpp +++ b/source/forms/ScpCommander.cpp @@ -539,7 +539,7 @@ void __fastcall TScpCommanderForm::LocalDefaultDirectory() } catch(Exception & E) { - Terminal->ShowExtendedException(&E); + ShowExtendedException(NULL, &E); LocalDirView->Path = ExtractFilePath(Application->ExeName); } }