Skip to content

Commit

Permalink
re #8450 more foreaching
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDraper committed Nov 29, 2013
1 parent 657a912 commit 3bf81f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/MantidPlot/src/ApplicationWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11156,13 +11156,13 @@ void ApplicationWindow::openScriptWindow(const QStringList &list)
scriptingWindow->setWindowTitle("MantidPlot: " + scriptingEnv()->languageName() + " Window");
QStringList scriptnames;

for (QString fileNameEntry : list)
foreach (QString fileNameEntry, list)
{
scriptnames.append(fileNameEntry.split("\t"));
}

bool newTab = false;
for (QString scriptname : scriptnames)
foreach (QString scriptname, scriptnames)
{
scriptingWindow->open(scriptname,newTab);
newTab=false;
Expand Down

0 comments on commit 3bf81f3

Please sign in to comment.