Skip to content
Snippets Groups Projects
Commit 112c9e68 authored by Claudio Scafuri's avatar Claudio Scafuri :speech_balloon:
Browse files

remove len tab for non IFC-B controller

parent 8e632abe
No related branches found
No related tags found
1 merge request!1Lens tab
......@@ -55,6 +55,13 @@ mscr::mscr(QWidget *parent) : QWidget(parent) {
dd = server->command_inout("GetInstrumentList");
dd >> instruments;
setPolarAttenuation();
std::string contr_type;
server->read_attribute("ControllerType") >> contr_type;
if (contr_type.substr(0,5) != "IFC-B"){
//ui.tabWidget->setTabEnabled(3,false);
ui.tabWidget->removeTab(3);
}
} catch (Tango::DevFailed& ex) {
simpleLog::error("mscr::mscr", ex.errors);
exit(1);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment