Allow to cancel file-open dialog
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
c6b0a0241e
commit
c55455eb21
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue