mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 21:10:42 +02:00
Qt6: fixed bug with TSelectDirectoryDialog.
This commit is contained in:
parent
a9c050a248
commit
16e54b9154
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user