| 319 | } |
| 320 | |
| 321 | bool Workspace::onCanCopy(Context* ctx) |
| 322 | { |
| 323 | WorkspaceView* view = activeView(); |
| 324 | InputChainElement* activeElement = (view ? view->onGetInputChainElement(): nullptr); |
| 325 | if (activeElement) |
| 326 | return activeElement->onCanCopy(ctx); |
| 327 | else |
| 328 | return false; |
| 329 | } |
| 330 | |
| 331 | bool Workspace::onCanPaste(Context* ctx) |
| 332 | { |
nothing calls this directly
no test coverage detected