MCPcopy Create free account
hub / github.com/MyGUI/mygui / notifySettingsWindowEndDialog

Method notifySettingsWindowEndDialog

Tools/FontEditor/EditorState.cpp:509–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507 }
508
509 void EditorState::notifySettingsWindowEndDialog(Dialog* _dialog, bool _result)
510 {
511 MYGUI_ASSERT(mSettingsWindow == _dialog, "mSettingsWindow == _sender");
512
513 if (_result)
514 mSettingsWindow->SendCommand("Command_SaveSettings");
515
516 mSettingsWindow->endModal();
517 }
518
519 void EditorState::commandUndo(const MyGUI::UString& _commandName, bool& _result)
520 {

Callers

nothing calls this directly

Calls 2

SendCommandMethod · 0.80
endModalMethod · 0.45

Tested by

no test coverage detected