| 153 | } |
| 154 | |
| 155 | void MdfViewer::OnOpenLogFile(wxCommandEvent& event) { |
| 156 | auto& log_config = LogConfig::Instance(); |
| 157 | std::string logfile = log_config.GetLogFile(); |
| 158 | OpenFile(logfile); |
| 159 | |
| 160 | } |
| 161 | |
| 162 | void MdfViewer::OnUpdateOpenLogFile(wxUpdateUIEvent &event) { |
| 163 | if (notepad_.empty()) { |
nothing calls this directly
no test coverage detected