MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnFileSave

Method OnFileSave

editor/TableFileFilter.cpp:177–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void TableFileFilter::OnFileSave() {
178 // TODO: Add your command handler code here
179 if (!m_PageList.FilenameSpecified()) {
180 OnFileSaveAs();
181 return;
182 }
183
184 CWaitCursor wc;
185 if (!m_PageList.SaveList(NULL)) {
186 MessageBox("The save was unsuccessfull", "Save Table Error!");
187 return;
188 }
189 m_PageList.SetTitleString();
190}
191
192void TableFileFilter::OnFileSaveAs() {
193 // TODO: Add your command handler code here

Callers

nothing calls this directly

Calls 3

FilenameSpecifiedMethod · 0.80
SaveListMethod · 0.80
SetTitleStringMethod · 0.45

Tested by

no test coverage detected