Skip to content

Commit

Permalink
Windows GUI: Fix position of open folder dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
cjee21 committed May 23, 2024
1 parent eba66d6 commit ce0dae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/GUI/VCL/GUI_Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ce0dae7

Please sign in to comment.