mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#836 Fixed missing/wrong zoom update for well log plots when opening project.
Refactored the zoom update method names
This commit is contained in:
@@ -296,7 +296,17 @@ void RimSummaryPlot::loadDataAndUpdate()
|
||||
|
||||
this->updateYAxisUnit();
|
||||
|
||||
if (m_visibleWindow().size() == 4)
|
||||
updateZoom();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimSummaryPlot::updateZoom()
|
||||
{
|
||||
// Todo: introduce autoscale
|
||||
|
||||
if(m_visibleWindow().size() == 4)
|
||||
{
|
||||
QRectF visibleWindow(m_visibleWindow()[0], m_visibleWindow()[1], m_visibleWindow()[2], m_visibleWindow()[3]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user