#4769 Remove stepping toolbar for Ensemble RFT.

* It doesn't work right and the usefulness is limited.
This commit is contained in:
Gaute Lindkvist 2019-09-26 09:18:55 +02:00
parent c732571790
commit 4709bb1402

View File

@ -33,6 +33,7 @@
#include "RimWellAllocationPlot.h" #include "RimWellAllocationPlot.h"
#include "RimWellLogCurveCommonDataSource.h" #include "RimWellLogCurveCommonDataSource.h"
#include "RimWellLogPlot.h" #include "RimWellLogPlot.h"
#include "RimWellRftPlot.h"
#include "RiuDockWidgetTools.h" #include "RiuDockWidgetTools.h"
#include "RiuDragDrop.h" #include "RiuDragDrop.h"
@ -512,7 +513,9 @@ void RiuPlotMainWindow::addToTemporaryWidgets( QWidget* widget )
void RiuPlotMainWindow::updateWellLogPlotToolBar() void RiuPlotMainWindow::updateWellLogPlotToolBar()
{ {
RimWellLogPlot* wellLogPlot = dynamic_cast<RimWellLogPlot*>( m_activePlotViewWindow.p() ); RimWellLogPlot* wellLogPlot = dynamic_cast<RimWellLogPlot*>( m_activePlotViewWindow.p() );
if ( wellLogPlot ) RimWellRftPlot* wellRftPlot = dynamic_cast<RimWellRftPlot*>( wellLogPlot );
if ( wellLogPlot && !wellRftPlot )
{ {
std::vector<caf::PdmFieldHandle*> toolBarFields; std::vector<caf::PdmFieldHandle*> toolBarFields;
toolBarFields = wellLogPlot->commonDataSource()->fieldsToShowInToolbar(); toolBarFields = wellLogPlot->commonDataSource()->fieldsToShowInToolbar();
@ -758,9 +761,9 @@ void RiuPlotMainWindow::selectedObjectsChanged()
{ {
if ( selectedWindow->viewWidget() ) if ( selectedWindow->viewWidget() )
{ {
setBlockSlotSubWindowActivated(true); setBlockSlotSubWindowActivated( true );
setActiveViewer(selectedWindow->viewWidget()); setActiveViewer( selectedWindow->viewWidget() );
setBlockSlotSubWindowActivated(false); setBlockSlotSubWindowActivated( false );
} }
// The only way to get to this code is by selection change initiated from the project tree view // The only way to get to this code is by selection change initiated from the project tree view
// As we are activating an MDI-window, the focus is given to this MDI-window // As we are activating an MDI-window, the focus is given to this MDI-window