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

Method commandSave

Tools/FontEditor/EditorState.cpp:144–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 void EditorState::commandSave(const MyGUI::UString& _commandName, bool& _result)
145 {
146 if (!checkCommand())
147 return;
148
149 if (ActionManager::getInstance().getChanges())
150 {
151 if (mFileName == mDefaultFileName)
152 showSaveAsWindow();
153 else
154 save();
155 }
156
157 _result = true;
158 }
159
160 void EditorState::commandSaveAs(const MyGUI::UString& _commandName, bool& _result)
161 {

Callers

nothing calls this directly

Calls 1

getChangesMethod · 0.45

Tested by

no test coverage detected