Skip to content

Commit

Permalink
Refs #6473. Minor improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbekasov committed Dec 11, 2013
1 parent a004124 commit 8880fbd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Expand Up @@ -45,7 +45,7 @@ namespace MantidWidgets
Q_OBJECT

public:
MuonSequentialFitDialog(MuonFitPropertyBrowser* parent);
MuonSequentialFitDialog(MuonFitPropertyBrowser* fitPropBrowser);
virtual ~MuonSequentialFitDialog();

enum DialogState
Expand Down
Expand Up @@ -317,8 +317,7 @@ void MuonFitPropertyBrowser::fit()
void MuonFitPropertyBrowser::sequentialFit()
{
MuonSequentialFitDialog* dialog = new MuonSequentialFitDialog(this);
dialog->setModal(true);
dialog->show();
dialog->exec();
}

/**
Expand Down
Expand Up @@ -11,8 +11,8 @@ namespace MantidWidgets
using namespace Mantid::API;

Logger& MuonSequentialFitDialog::g_log(Logger::get("MuonSequentialFitDialog"));

/**
* Constructor
*/
MuonSequentialFitDialog::MuonSequentialFitDialog(MuonFitPropertyBrowser* fitPropBrowser) :
Expand Down Expand Up @@ -360,7 +360,7 @@ namespace MantidWidgets
void MuonSequentialFitDialog::stopFit()
{
if ( m_state != Running )
throw std::runtime_error("Coulnd't stop: is not running");
throw std::runtime_error("Couldn't stop: is not running");

m_stopRequested = true;
}
Expand Down

0 comments on commit 8880fbd

Please sign in to comment.