summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/formfiller
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/formfiller')
-rw-r--r--fpdfsdk/src/formfiller/FFL_FormFiller.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/fpdfsdk/src/formfiller/FFL_FormFiller.cpp b/fpdfsdk/src/formfiller/FFL_FormFiller.cpp
index 0e74d91fab..a903824c6a 100644
--- a/fpdfsdk/src/formfiller/FFL_FormFiller.cpp
+++ b/fpdfsdk/src/formfiller/FFL_FormFiller.cpp
@@ -273,8 +273,10 @@ void CFFL_FormFiller::KillFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag) {
case FIELDTYPE_CHECKBOX:
case FIELDTYPE_RADIOBUTTON:
bDestroyPDFWindow = TRUE;
+ break;
default:
bDestroyPDFWindow = FALSE;
+ break;
}
EscapeFiller(pPageView, bDestroyPDFWindow);
}