mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-01 19:20:17 +00:00
Fix opening files from CLI with new OpenBatchOfFiles utility
This commit is contained in:
parent
14fbee19f0
commit
d93264c895
@ -42,7 +42,10 @@ namespace app {
|
||||
}
|
||||
}
|
||||
|
||||
ctx->executeCommandFromMenuOrShortcut(&m_cmd, params);
|
||||
if (ctx->isUIAvailable())
|
||||
ctx->executeCommandFromMenuOrShortcut(&m_cmd, params);
|
||||
else
|
||||
ctx->executeCommand(&m_cmd, params);
|
||||
|
||||
// Future decision for other files in the CLI
|
||||
auto d = m_cmd.seqDecision();
|
||||
|
Loading…
x
Reference in New Issue
Block a user