Skip to content

Commit

Permalink
Refs #8349. Don't show all graphs when uncheking "Hide prev. graphs"
Browse files Browse the repository at this point in the history
As now they all share the same place, when all shown they are hidden behind
a single graph.

That's a simple solution, need to discuss whether scientists want something
different to happen.
  • Loading branch information
arturbekasov committed Nov 18, 2013
1 parent 75a9c63 commit 2a1aeaf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
Expand Up @@ -102,10 +102,6 @@ public slots:
/// Emitted when plot style parameters has changed.
void plotStyleChanged();

/// Tell Muon interface to show the muon graphs
void notHidingGraphs();


private:
/// The Muon Analysis UI file.
Ui::MuonAnalysis& m_uiForm;
Expand Down
2 changes: 0 additions & 2 deletions Code/Mantid/MantidQt/CustomInterfaces/src/MuonAnalysis.cpp
Expand Up @@ -129,8 +129,6 @@ void MuonAnalysis::initLayout()

m_optionTab = new MuonAnalysisOptionTab(m_uiForm, m_settingsGroup);
m_optionTab->initLayout();
// Add the graphs back to mantid if the user selects not to hide graphs on settings tab.
connect(m_optionTab, SIGNAL(notHidingGraphs()), this, SLOT(showAllPlotWindows()));

m_fitDataTab = new MuonAnalysisFitDataTab(m_uiForm);
m_fitDataTab->init();
Expand Down
Expand Up @@ -395,10 +395,6 @@ void MuonAnalysisOptionTab::hideGraphsChanged(bool state)
QSettings group;
group.beginGroup(m_settingsGroup + "SettingOptions");
group.setValue("hiddenGraphs", state);
if (state)
emit settingsTabUpdatePlot();
else
emit notHidingGraphs();
}


Expand Down

0 comments on commit 2a1aeaf

Please sign in to comment.