Repaint widget in addition to clearing of slices

This commit is contained in:
Magne Sjaastad
2017-02-02 13:01:21 +01:00
parent 9493a1dfc0
commit f1200af1af

View File

@@ -156,6 +156,7 @@ void RimTotalWellAllocationPlot::addSlice(const QString& name, const cvf::Color3
void RimTotalWellAllocationPlot::clearSlices() void RimTotalWellAllocationPlot::clearSlices()
{ {
m_wellTotalAllocationPlotWidget->clear(); m_wellTotalAllocationPlotWidget->clear();
m_wellTotalAllocationPlotWidget->update();
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
@@ -163,7 +164,6 @@ void RimTotalWellAllocationPlot::clearSlices()
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
void RimTotalWellAllocationPlot::loadDataAndUpdate() void RimTotalWellAllocationPlot::loadDataAndUpdate()
{ {
updateMdiWindowVisibility();
} }