Skip to content

Commit

Permalink
Use correct Python slot name
Browse files Browse the repository at this point in the history
Refs #10368
  • Loading branch information
DanNixon committed Nov 12, 2014
1 parent 8846787 commit b36a204
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -154,7 +154,7 @@ namespace CustomInterfaces
/// Send signal to parent window to show a message box to user
void showMessageBox(const QString& message);
/// Send signal to parent window to execute python script
void executePythonScript(const QString& pyInput, bool output);
void runAsPythonScript(const QString& pyInput, bool output);

protected:
/// Overidden by child class.
Expand Down
Expand Up @@ -48,7 +48,7 @@ namespace MantidQt
*/
void IndirectBayesTab::runPythonScript(const QString& pyInput)
{
emit executePythonScript(pyInput, true);
emit runAsPythonScript(pyInput, true);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/MantidQt/CustomInterfaces/src/IndirectTab.cpp
Expand Up @@ -36,7 +36,7 @@ namespace CustomInterfaces
m_valPosDbl->setBottom(tolerance);

connect(m_batchAlgoRunner, SIGNAL(batchComplete(bool)), this, SLOT(algorithmFinished(bool)));
connect(&m_pythonRunner, SIGNAL(runAsPythonScript(const QString&, bool)), this, SIGNAL(executePythonScript(const QString&, bool)));
connect(&m_pythonRunner, SIGNAL(runAsPythonScript(const QString&, bool)), this, SIGNAL(runAsPythonScript(const QString&, bool)));
}

//----------------------------------------------------------------------------------------------
Expand Down

0 comments on commit b36a204

Please sign in to comment.