| 589 | } |
| 590 | |
| 591 | void GuiNavEditorCtrl::setMode(String mode, bool sourceShortcut = false) |
| 592 | { |
| 593 | mMode = mode; |
| 594 | Con::executef(this, "onModeSet", mode); |
| 595 | |
| 596 | if(sourceShortcut) |
| 597 | Con::executef(this, "paletteSync", mode); |
| 598 | } |
| 599 | |
| 600 | void GuiNavEditorCtrl::submitUndo(const UTF8 *name) |
| 601 | { |
no test coverage detected