fabriciochamon / DearPyGui_Extend

Dear Py GUI extensions and custom widgets.
MIT License
27 stars 2 forks source link

FileBrowser should include a UUID in its tag prefix #4

Open ndahn opened 1 week ago

ndahn commented 1 week ago

The FileBrowser should include a UUID or similar in its tag_prefix. Right now it is not possible to have more than one file browser.

Unfortunately, a simple fix like below will cause other issues, e.g. textures not being found anymore. It would probably be a good idea to store all textures independent from FileBrowser instances anyways.

tag_prefix = 'dpge_filebrowser_' + str(dpg.generate_uuid())
fabriciochamon commented 1 week ago

Thanks for pointing out, I'll work on a fix for that.