| 242 | } |
| 243 | |
| 244 | void FileBar::update_view_status() |
| 245 | { |
| 246 | bool bEnable = _session->is_working() == false; |
| 247 | bool is_hardware = _session->get_device()->is_hardware(); |
| 248 | _file_button.setEnabled(bEnable); |
| 249 | _menu_session->setEnabled(bEnable && is_hardware); |
| 250 | } |
| 251 | |
| 252 | void FileBar::UpdateLanguage() |
| 253 | { |
nothing calls this directly
no test coverage detected