dfranx / ImFileDialog

A file dialog library for Dear ImGui
MIT License
509 stars 57 forks source link

ImDirDialog #24

Closed UnrealKaraulov closed 10 months ago

UnrealKaraulov commented 2 years ago

How to select dir instead of file via ImFileDialog ?

aeris170 commented 10 months ago

Sorry for necro'ing but this seems unanswered, so for people in the future, here is how you do it.

FileDialog::Instance().Open("key", "title", "");

Just leave the filter parameter empty. (3rd parameter)