Skip to content

Commit

Permalink
Refs #8838 Disable option on plot when not available.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jackson committed Feb 7, 2014
1 parent d546e7b commit 5ab2053
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Expand Up @@ -2092,6 +2092,9 @@
</item>
<item>
<widget class="QCheckBox" name="abscor_ckPlotContrib">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Plot Contributions</string>
</property>
Expand Down
1 change: 1 addition & 0 deletions Code/Mantid/MantidQt/CustomInterfaces/src/ApplyCorr.cpp
Expand Up @@ -23,6 +23,7 @@ namespace IDA
connect(uiForm().abscor_ckUseCorrections, SIGNAL(toggled(bool)), uiForm().abscor_dsCorrections, SLOT(setEnabled(bool)));
connect(uiForm().abscor_ckScaleMultiplier, SIGNAL(toggled(bool)), this, SLOT(scaleMultiplierCheck(bool)));
connect(uiForm().abscor_cbGeometry, SIGNAL(currentIndexChanged(int)), this, SLOT(handleGeometryChange(int)));
connect(uiForm().abscor_ckUseCan, SIGNAL(toggled(bool)), uiForm().abscor_ckPlotContrib, SLOT(setEnabled(bool)));

// Create a validator for input box of the Scale option.
m_valPosDbl = new QDoubleValidator(this);
Expand Down

0 comments on commit 5ab2053

Please sign in to comment.