mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Store username/password in session cache
Compute UTM region before import wizard is displayed p4#: 22351
This commit is contained in:
@@ -142,6 +142,8 @@ void RimWellPathImport::updateRegions(const QStringList& regionStrings, const QS
|
||||
oilRegionEntry->fields.push_back(oilFieldEntry);
|
||||
}
|
||||
}
|
||||
|
||||
updateFieldVisibility();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -157,20 +159,20 @@ void RimWellPathImport::initAfterRead()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathImport::updateFieldVisibility()
|
||||
{
|
||||
if (utmFilterMode == UTM_FILTER_OFF)
|
||||
{
|
||||
north.setUiReadOnly(true);
|
||||
south.setUiReadOnly(true);
|
||||
east.setUiReadOnly(true);
|
||||
west.setUiReadOnly(true);
|
||||
}
|
||||
else
|
||||
if (utmFilterMode == UTM_FILTER_CUSTOM)
|
||||
{
|
||||
north.setUiReadOnly(false);
|
||||
south.setUiReadOnly(false);
|
||||
east.setUiReadOnly(false);
|
||||
west.setUiReadOnly(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
north.setUiReadOnly(true);
|
||||
south.setUiReadOnly(true);
|
||||
east.setUiReadOnly(true);
|
||||
west.setUiReadOnly(true);
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user