Skip to content

Commit

Permalink
Remove unused function.
Browse files Browse the repository at this point in the history
Refs #9402
  • Loading branch information
martyngigg committed May 2, 2014
1 parent f265715 commit 480510b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
17 changes: 0 additions & 17 deletions Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp
Expand Up @@ -3275,23 +3275,6 @@ Table* MantidUI::createTableFromSelectedColumns(MantidMatrix *m, bool errs)

}

MultiLayer* MantidUI::createGraphFromSelectedColumns(MantidMatrix *m, bool errs, bool tableVisible)
{
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
Table *t = createTableFromSelectedColumns(m,errs);
//t->askOnCloseEvent(false);
if (!t) return NULL;
if (tableVisible) t->showNormal();

MultiLayer* ml = appWindow()->multilayerPlot(t,t->colNames(),Graph::Line);
Graph *g = ml->activeGraph();
appWindow()->polishGraph(g,Graph::Line);
m->setBinGraph(ml,t);
// ml->askOnCloseEvent(false);

QApplication::restoreOverrideCursor();
return ml;
}
/** Saves data to nexus file
* @param wsName :: Name of the workspace to be saved
* @param fileName :: name of the nexus file to created
Expand Down
4 changes: 0 additions & 4 deletions Code/Mantid/MantidPlot/src/Mantid/MantidUI.h
Expand Up @@ -231,10 +231,6 @@ class MantidUI:public QObject
// Copies selected columns (time bins) in a MantidMatrix to a Table
Table* createTableFromSelectedColumns(MantidMatrix *m, bool errs);


// Shows 1D graphs of selected time bins (columns) in a MantidMatrix
MultiLayer* createGraphFromSelectedColumns(MantidMatrix *m, bool errs = true, bool tableVisible = false);

// Creates and shows a Table with detector ids for the workspace in the MantidMatrix
Table* createTableDetectors(MantidMatrix *m);

Expand Down

0 comments on commit 480510b

Please sign in to comment.