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

Method notifyEndDialogOpenSaveFile

Tools/LayoutEditor/CodeGenerator.cpp:239–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237 }
238
239 void CodeGenerator::notifyEndDialogOpenSaveFile(Dialog* _sender, bool _result)
240 {
241 if (_result)
242 {
243 if (mOpenSaveFileDialog->getMode() == "Header")
244 {
245 mIncludeDirectoryEdit->setCaption(mOpenSaveFileDialog->getCurrentFolder());
246 }
247 else if (mOpenSaveFileDialog->getMode() == "Source")
248 {
249 mSourceDirectoryEdit->setCaption(mOpenSaveFileDialog->getCurrentFolder());
250 }
251 }
252
253 mOpenSaveFileDialog->endModal();
254 }
255
256}

Callers

nothing calls this directly

Calls 2

setCaptionMethod · 0.45
endModalMethod · 0.45

Tested by

no test coverage detected