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

Method upFolder

Tools/EditorFramework/OpenSaveFileDialog.cpp:123–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 void OpenSaveFileDialog::upFolder()
124 {
125 size_t index = mCurrentFolder.find_last_of(L"\\/");
126 if (index != std::string::npos)
127 {
128 mCurrentFolder = mCurrentFolder.substr(0, index);
129 }
130 update();
131 }
132
133 void OpenSaveFileDialog::setCurrentFolder(const MyGUI::UString& _folder)
134 {

Callers

nothing calls this directly

Calls 2

find_last_ofMethod · 0.80
substrMethod · 0.80

Tested by

no test coverage detected