Skip to content

Commit

Permalink
Refs #8550. Minor code clean-up.
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbekasov committed Dec 9, 2013
1 parent 3bec92b commit 3c5c2a0
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions Code/Mantid/MantidQt/CustomInterfaces/src/MuonAnalysis.cpp
Expand Up @@ -2,9 +2,9 @@
// Includes
//----------------------
#include "MantidAPI/AlgorithmManager.h"
#include "MantidAPI/AnalysisDataService.h"
#include "MantidAPI/FrameworkManager.h"
#include "MantidAPI/IAlgorithm.h"
#include "MantidAPI/AnalysisDataService.h"
#include "MantidAPI/Run.h"
#include "MantidAPI/ScopedWorkspace.h"
#include "MantidAPI/TableRow.h"
Expand Down Expand Up @@ -80,11 +80,17 @@ const QString MuonAnalysis::NOT_AVAILABLE("N/A");
//----------------------
///Constructor
MuonAnalysis::MuonAnalysis(QWidget *parent) :
UserSubWindow(parent), m_last_dir(), m_workspace_name("MuonAnalysis"), m_currentDataName(),
m_groupTableRowInFocus(0), m_pairTableRowInFocus(0), m_currentTab(NULL),
m_groupNames(), m_settingsGroup("CustomInterfaces/MuonAnalysis/"),
m_updating(false), m_loaded(false), m_deadTimesChanged(false), m_textToDisplay(""), m_dataTimeZero(0.0),
m_dataFirstGoodData(0.0)
UserSubWindow(parent),
m_last_dir(),
m_workspace_name("MuonAnalysis"), m_grouped_name(m_workspace_name + "Grouped"),
m_currentDataName(),
m_groupTableRowInFocus(0), m_pairTableRowInFocus(0),
m_currentTab(NULL),
m_groupNames(),
m_settingsGroup("CustomInterfaces/MuonAnalysis/"),
m_updating(false), m_loaded(false), m_deadTimesChanged(false),
m_textToDisplay(""),
m_dataTimeZero(0.0), m_dataFirstGoodData(0.0)
{}

/**
Expand Down Expand Up @@ -1716,6 +1722,8 @@ void MuonAnalysis::clearTablesAndCombo()
m_uiForm.pairTable->setCellWidget(i,1, new QComboBox);
m_uiForm.pairTable->setCellWidget(i,2, new QComboBox);
}

m_uiForm.groupDescription->clear();
}


Expand Down

0 comments on commit 3c5c2a0

Please sign in to comment.