Skip to content

Commit

Permalink
Refs #11094 Resolve Coverity issues in windowProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Jeffery committed Feb 16, 2015
1 parent 8eea26c commit 545aedb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Code/Mantid/MantidPlot/src/ApplicationWindow.cpp
Expand Up @@ -15154,6 +15154,9 @@ void ApplicationWindow::addListViewItem(MdiSubWindow *w)
void ApplicationWindow::windowProperties()
{
WindowListItem *it = dynamic_cast<WindowListItem*>(lv->currentItem());
if(!it)
return;

MdiSubWindow *w = it->window();
if (!w)
return;
Expand Down

0 comments on commit 545aedb

Please sign in to comment.