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

Method notifyListSelectAccept

Tools/LayoutEditor/ProjectControl.cpp:581–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579 }
580
581 void ProjectControl::notifyListSelectAccept(MyGUI::ListBox* _sender, size_t _index)
582 {
583 if (_index == MyGUI::ITEM_NONE)
584 return;
585
586 MyGUI::UString data =
587 MyGUI::utility::toString(MyGUI::UString(common::concatenatePath(mProjectPath, mProjectName)), "|", _index);
588 CommandManager::getInstance().setCommandData(data);
589 CommandManager::getInstance().executeCommand("Command_FileDrop");
590 }
591
592 bool ProjectControl::isProjectItemOpen()
593 {

Callers

nothing calls this directly

Calls 5

toStringFunction · 0.85
UStringFunction · 0.85
concatenatePathFunction · 0.85
setCommandDataMethod · 0.80
executeCommandMethod · 0.45

Tested by

no test coverage detected