Skip to content

Commit

Permalink
Refs #4333. Switch on new Python API by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Jan 9, 2012
1 parent fc62f35 commit 5836df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidPlot/src/ConfigDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ void ConfigDialog::initMantidOptionsTab()
// Default Python API check box
m_defaultToNewPython = new QCheckBox("Use new-style Python by default (requires a restart of MantidPlot to take effect)");
QSettings settings;
int apiVersion = settings.value("Mantid/Python/APIVersion", 1).toInt();
int apiVersion = settings.value("Mantid/Python/APIVersion", 2).toInt();

if( apiVersion == 2 ) m_defaultToNewPython->setChecked(true);
else m_defaultToNewPython->setChecked(false);
Expand Down

0 comments on commit 5836df2

Please sign in to comment.