diff --git a/Source/GUI/VCL/GUI_Main.cpp b/Source/GUI/VCL/GUI_Main.cpp index aae21cb40..c6c7b4446 100644 --- a/Source/GUI/VCL/GUI_Main.cpp +++ b/Source/GUI/VCL/GUI_Main.cpp @@ -1190,7 +1190,7 @@ void __fastcall TMainF::M_File_Open_FileClick(TObject *Sender) //--------------------------------------------------------------------------- void __fastcall TMainF::M_File_Open_FolderClick(TObject *Sender) { - if (!FolderOpenDialog1->Execute()) + if (!FolderOpenDialog1->Execute(Handle)) return; if (TDirectory::GetFiles(FolderOpenDialog1->FileName).Length != 0) { diff --git a/Source/GUI/VCL/GUI_Main.dfm b/Source/GUI/VCL/GUI_Main.dfm index 548bc3c3a..34058e3c4 100644 --- a/Source/GUI/VCL/GUI_Main.dfm +++ b/Source/GUI/VCL/GUI_Main.dfm @@ -2576,6 +2576,7 @@ object MainF: TMainF Top = 256 end object OpenDialog1: TOpenDialog + Options = [ofHideReadOnly, ofAllowMultiSelect, ofEnableSizing] Left = 768 Top = 368 end