Skip to content
Snippets Groups Projects
Unverified Commit 8189d9d4 authored by Pospelov, Gennady's avatar Pospelov, Gennady Committed by GitHub
Browse files

Merge pull request #405 from DmitryYurov/develop

Specular instrument is now inaccessible from GUI
parents c9e2c67f 0f020453
No related branches found
No related tags found
No related merge requests found
...@@ -201,8 +201,9 @@ void InstrumentViewActions::initAddInstrumentMenu() ...@@ -201,8 +201,9 @@ void InstrumentViewActions::initAddInstrumentMenu()
action->setToolTip("Add OffSpec instrument with default settings"); action->setToolTip("Add OffSpec instrument with default settings");
connect(action, &QAction::triggered, this, &InstrumentViewActions::onAddInstrument); connect(action, &QAction::triggered, this, &InstrumentViewActions::onAddInstrument);
action = m_addInstrumentMenu->addAction("Specular"); // TODO: enable after specular instrument is ready
/*action = m_addInstrumentMenu->addAction("Specular");
action->setData(QVariant::fromValue(Constants::SpecularInstrumentType)); action->setData(QVariant::fromValue(Constants::SpecularInstrumentType));
action->setToolTip("Add Specular instrument with default settings"); action->setToolTip("Add Specular instrument with default settings");
connect(action, &QAction::triggered, this, &InstrumentViewActions::onAddInstrument); connect(action, &QAction::triggered, this, &InstrumentViewActions::onAddInstrument);*/
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment