Index: xfa/fwl/core/ifwl_comboedit.cpp |
diff --git a/xfa/fwl/core/ifwl_comboedit.cpp b/xfa/fwl/core/ifwl_comboedit.cpp |
index 0896ba76df567a286428702434a68f7bbafdda19..73ca14627f2ba8ed83be52bcfe3c0f80fb7b4218 100644 |
--- a/xfa/fwl/core/ifwl_comboedit.cpp |
+++ b/xfa/fwl/core/ifwl_comboedit.cpp |
@@ -31,10 +31,11 @@ void IFWL_ComboEdit::SetSelected() { |
void IFWL_ComboEdit::FlagFocus(bool bSet) { |
if (bSet) { |
m_pProperties->m_dwStates |= FWL_WGTSTATE_Focused; |
- } else { |
- m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Focused; |
- ShowCaret(false); |
+ return; |
} |
+ |
+ m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Focused; |
+ ShowCaret(false); |
} |
void IFWL_ComboEdit::OnProcessMessage(CFWL_Message* pMessage) { |