Update for async API breaking change, adding default filename
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
26785f2d75
commit
4c326f5f39
23 changed files with 96 additions and 34 deletions
|
|
@ -662,7 +662,7 @@ struct AudioFileWidget : ModuleWidgetWithSideScrews<23> {
|
|||
void onAction(const event::Action&) override
|
||||
{
|
||||
CarlaInternalPluginModule* const module = this->module;
|
||||
async_dialog_filebrowser(false, nullptr, text.c_str(), [module](char* path)
|
||||
async_dialog_filebrowser(false, nullptr, nullptr, text.c_str(), [module](char* path)
|
||||
{
|
||||
if (path == nullptr)
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ struct TextEditorLoadFileItem : MenuItem {
|
|||
TextEditorModule* const module = this->module;;
|
||||
WeakPtr<ImGuiTextEditor> widget = this->widget;
|
||||
|
||||
async_dialog_filebrowser(false, nullptr, text.c_str(), [module, widget](char* path)
|
||||
async_dialog_filebrowser(false, nullptr, nullptr, text.c_str(), [module, widget](char* path)
|
||||
{
|
||||
if (path)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue