Skip to content

Commit

Permalink
Refs #7179. Remove run number log specific code.
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbekasov committed Jan 30, 2014
1 parent b3f41a6 commit 07ca919
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Expand Up @@ -56,9 +56,6 @@ class MuonAnalysisResultTableTab : public QWidget
// Refresh the label list and re-populate the tables
void refresh();

static const std::string RUN_NO_LOG; // Name of the run_number log
static const std::string RUN_NO_TITLE; // Table title for the run_number

signals:
/// Emitted to run some (usually simple) Python code
void runPythonCode(const QString& code, bool async);
Expand Down
Expand Up @@ -35,8 +35,6 @@ namespace Muon
using namespace MantidQt::API;
using namespace MantidQt::MantidWidgets;

const std::string MuonAnalysisResultTableTab::RUN_NO_LOG("run_number");
const std::string MuonAnalysisResultTableTab::RUN_NO_TITLE("Run Number");
const std::string MuonAnalysisResultTableTab::WORKSPACE_POSTFIX("_Workspace");

/**
Expand Down Expand Up @@ -368,7 +366,7 @@ void MuonAnalysisResultTableTab::populateTables()
selectAllFittings(true);

// If we have Run Number log value, we want to select it by default.
auto found = m_uiForm.valueTable->findItems(RUN_NO_TITLE.c_str(), Qt::MatchFixedString);
auto found = m_uiForm.valueTable->findItems("run_number", Qt::MatchFixedString);
if ( ! found.empty() )
{
int r = found[0]->row();
Expand Down

0 comments on commit 07ca919

Please sign in to comment.