mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Clean up after review
* Disable grid lines and tick marks if x range is empty. * Rename intervals to intervalCount when it is an integer count. * Fix some compile warnings.
This commit is contained in:
@@ -196,8 +196,8 @@ QList<caf::PdmOptionItemInfo> RimWellLogPlot::calculateValueOptions(const caf::P
|
||||
}
|
||||
else if (fieldNeedingOptions == &m_trackLegendsHorizontal)
|
||||
{
|
||||
options.push_back(caf::PdmOptionItemInfo("Vertical", false));
|
||||
options.push_back(caf::PdmOptionItemInfo("Horizontal", true));
|
||||
options.push_back(caf::PdmOptionItemInfo("Vertical", QVariant::fromValue(false)));
|
||||
options.push_back(caf::PdmOptionItemInfo("Horizontal", QVariant::fromValue(true)));
|
||||
}
|
||||
|
||||
(*useOptionsOnly) = true;
|
||||
|
||||
Reference in New Issue
Block a user