Skip to content

Commit

Permalink
Re #6162. Trying to fix the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed Dec 4, 2012
1 parent 0d01138 commit 0fa33ef
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -617,11 +617,14 @@ void InstrumentWindowPickTab::setSelectionType()
surfaceMode = ProjectionSurface::DrawMode;
}
ProjectionSurface* surface = m_instrWindow->getSurface();
if ( surface ) surface->setInteractionMode( surfaceMode );
if ( surface )
{
surface->setInteractionMode( surfaceMode );
m_instrWindow->updateInstrumentView();
}
m_plot->clearAll();
m_plot->replot();
setPlotCaption();
m_instrWindow->updateInstrumentView();
}

/**
Expand Down

0 comments on commit 0fa33ef

Please sign in to comment.