Skip to content

Commit

Permalink
Merge pull request #869 from cjee21/openfolder-fix
Browse files Browse the repository at this point in the history
Windows GUI: Fix opening subdirectories
  • Loading branch information
JeromeMartinez authored Jun 17, 2024
2 parents 53ac0a9 + 8307771 commit 8f8c01a
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 @@ -1233,7 +1233,7 @@ void __fastcall TMainF::M_File_Open_FolderClick(TObject *Sender)
if (!FolderOpenDialog1->Execute(Handle))
return;

if (TDirectory::GetFiles(FolderOpenDialog1->FileName).Length != 0) {
if (FolderOpenDialog1->FileName.Length != 0) {
// First we clear the list
if (M_Options_CloseAllAuto->Checked)
M_File_Close_AllClick(Sender);
Expand Down

0 comments on commit 8f8c01a

Please sign in to comment.