Skip to content

Commit

Permalink
Refs #7849. Making sure things get/keep current state.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed Aug 29, 2013
1 parent 73d2bbd commit c3449b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ void RebinningCutterObjectPanel::constructGeometry(QGridLayout* gLayout)
//Empty geometry widget added to layout.
if(m_geometryWidget != NULL)
{
m_geomBinDisplayMode = m_geometryWidget->getBinDisplayMode();
this->layout()->removeWidget(m_geometryWidget);
delete m_geometryWidget;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ namespace Mantid
void SynchronisingGeometryPresenter::acceptView(GeometryView* view)
{
m_view = view;
m_binDisplayMode = m_view->getBinDisplayMode();
const DimensionViewFactory& factory = m_view->getDimensionViewFactory();
Mantid::Geometry::VecIMDDimension_sptr vecAllDimensions = m_source.getAllDimensions();

Expand Down

0 comments on commit c3449b2

Please sign in to comment.