Skip to content

Commit

Permalink
Refs #11094 Resolves Coverity 1076212
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Jeffery committed Feb 16, 2015
1 parent 7e12b3e commit e6689c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code/Mantid/MantidPlot/src/ApplicationWindow.cpp
Expand Up @@ -8902,7 +8902,8 @@ void ApplicationWindow::setActiveWindow(MdiSubWindow* w)
void ApplicationWindow::activateWindow()
{
WindowListItem *it = dynamic_cast<WindowListItem*>(lv->currentItem());
activateWindow(it->window());
if(it)
activateWindow(it->window());
}

/**
Expand Down

0 comments on commit e6689c6

Please sign in to comment.