|
|
|
@ -201,7 +201,8 @@ void nmWxNumericalDesign::fillResultWellCombo(const QString& selectedWellName)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 当前井可能已经被删除;如果它已不在结果井下拉框中,就清空这个失效井名。
|
|
|
|
// 当前井可能已经被删除;如果它已不在结果井下拉框中,就清空这个失效井名。
|
|
|
|
if(!sCurrentWellName.isEmpty() && m_pResultWellCombo->findText(sCurrentWellName) < 0) {
|
|
|
|
if(!sCurrentWellName.isEmpty() && m_pResultWellCombo->count() > 0
|
|
|
|
|
|
|
|
&& m_pResultWellCombo->findText(sCurrentWellName) < 0) {
|
|
|
|
sCurrentWellName.clear();
|
|
|
|
sCurrentWellName.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|