| 73 | } |
| 74 | |
| 75 | void OpenSaveFileDialog::notifyListChangePosition(MyGUI::ListBox* _sender, size_t _index) |
| 76 | { |
| 77 | if (_index == MyGUI::ITEM_NONE) |
| 78 | { |
| 79 | mEditFileName->setCaption(MyGUI::UString()); |
| 80 | } |
| 81 | else |
| 82 | { |
| 83 | common::FileInfo info = *_sender->getItemDataAt<common::FileInfo>(_index); |
| 84 | if (!info.folder) |
| 85 | mEditFileName->setCaption(info.name); |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | void OpenSaveFileDialog::notifyListSelectAccept(MyGUI::ListBox* _sender, size_t _index) |
| 90 | { |
nothing calls this directly
no test coverage detected