MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / update_view_status

Method update_view_status

DSView/pv/toolbars/filebar.cpp:244–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void 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
252void FileBar::UpdateLanguage()
253{

Callers

nothing calls this directly

Calls 3

is_workingMethod · 0.80
is_hardwareMethod · 0.80
get_deviceMethod · 0.80

Tested by

no test coverage detected