forked from 1b-agent/opencadstudio-upstream
Merge pull request #80 from mf4633/feature/plugin-host
Add plugin host (Phase 1)
This commit is contained in:
38 files changed
+1264
-20
No files matched your search
@@ -28,6 +28,10 @@ impl OpenCADStudio {
|
||||
return Task::done(Message::OpenPathPicked(Some((path, size))));
|
||||
}
|
||||
|
||||
if crate::plugin::try_dispatch(self, i, cmd) {
|
||||
return Task::none();
|
||||
}
|
||||
|
||||
match cmd {
|
||||
"NEW" => return Task::done(Message::TabNew),
|
||||
"OPEN" => return Task::done(Message::OpenFile),
|
||||
|
||||
Reference in new issue
Block a user