| 303 | } |
| 304 | |
| 305 | PluginDescriptor* PluginDataModel::GetPlugin(wxDataViewItem item) |
| 306 | { |
| 307 | if(!item.IsOk()) |
| 308 | return nullptr; |
| 309 | const auto index = GetRowIndex(item); |
| 310 | if(index >= mPluginStateModel.size()) |
| 311 | return nullptr; |
| 312 | |
| 313 | return mPluginStateModel[index].first; |
| 314 | } |
| 315 | |
| 316 | void PluginDataModel::UpdateFilter() |
| 317 | { |
no test coverage detected