Browse Source

Allow to cancel file-open dialog

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.02
falkTX 3 years ago
parent
commit
c55455eb21
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/CardinalUI.cpp

+ 3
- 0
src/CardinalUI.cpp View File

@@ -478,6 +478,9 @@ protected:

void uiFileBrowserSelected(const char* const filename) override
{
if (filename == nullptr)
return;

const ScopedContext sc(this);
fContext->patch->loadAction(filename);
}


Loading…
Cancel
Save