Skip to content

Commit

Permalink
Merge pull request #842 from cjee21/dialog-fixes
Browse files Browse the repository at this point in the history
Windows GUI: Dialog fixes
  • Loading branch information
JeromeMartinez authored May 23, 2024
2 parents 68f24b8 + ce0dae7 commit 87facbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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
1 change: 1 addition & 0 deletions Source/GUI/VCL/GUI_Main.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -2576,6 +2576,7 @@ object MainF: TMainF
Top = 256
end
object OpenDialog1: TOpenDialog
Options = [ofHideReadOnly, ofAllowMultiSelect, ofEnableSizing]
Left = 768
Top = 368
end
Expand Down

0 comments on commit 87facbf

Please sign in to comment.