| 515 | } |
| 516 | |
| 517 | void WorkspaceControl::Command_Delete(const MyGUI::UString& _commandName, bool& _result) |
| 518 | { |
| 519 | if (!checkCommand()) |
| 520 | return; |
| 521 | |
| 522 | if (mCurrentWidget == nullptr) |
| 523 | return; |
| 524 | |
| 525 | EditorWidgets::getInstance().remove(mCurrentWidget); |
| 526 | WidgetSelectorManager::getInstance().setSelectedWidget(nullptr); |
| 527 | UndoManager::getInstance().addValue(); |
| 528 | |
| 529 | _result = true; |
| 530 | } |
| 531 | |
| 532 | void WorkspaceControl::Command_NextItem(const MyGUI::UString& _commandName, bool& _result) |
| 533 | { |
nothing calls this directly
no test coverage detected