Qt6: fixed bug with TSelectDirectoryDialog.

This commit is contained in:
zeljan1 2022-11-25 11:37:47 +01:00
parent a9c050a248
commit 16e54b9154

View File

@ -730,7 +730,8 @@ begin
QFileDialog_setOption(QFileDialogH(FileDialog.Widget),
QFileDialogOptionDontUseNativeDialog, False);
FileDialog.setFileMode(QFileDialogDirectoryOnly);
FileDialog.setFileMode(QFileDialogDirectory);
QFileDialog_setOption(QFileDialogH(FileDialog.Widget), QFileDialogOptionShowDirsOnly, True);
FileDialog.AttachEvents;