Commit 0dce5f15 authored by Roman Tolchenov's avatar Roman Tolchenov
Browse files

Fixed a similar issue when Matrix Plot toolbar is not activated when a...

Fixed a similar issue when Matrix Plot toolbar is not activated when a MantidMatrix gets focus. re #1958
parent 6153e0ef
......@@ -1578,7 +1578,7 @@ void ApplicationWindow::customToolBars(QMdiSubWindow* w)
columnTools->setEnabled (true);
customColumnActions();
}
} else if (w->isA("Matrix") && d_matrix_tool_bar){
} else if ((w->isA("Matrix") || w->isA("MantidMatrix")) && d_matrix_tool_bar){
if(!plotMatrixBar->isVisible())
plotMatrixBar->show();
plotMatrixBar->setEnabled (true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment