MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / onSelectionChanged

Method onSelectionChanged

plugins/dm.gui/XdFileChooserDialog.cpp:127–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void XdFileChooserDialog::onSelectionChanged(wxDataViewEvent& ev)
128{
129 wxDataViewItem item = _treeview->GetSelection();
130
131 if (item.IsOk())
132 {
133 wxutil::TreeModel::Row row(item, *_listStore);
134 _chosenFile = row[_columns.name];
135
136 _editorDialog->updateGuiView(this, "", _defName, _chosenFile.substr(_chosenFile.find("/")+1));
137 }
138}
139
140} // namespace ui

Callers

nothing calls this directly

Calls 2

updateGuiViewMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected