diff --git a/Userland/Applications/PDFViewer/NumericInput.cpp b/Userland/Applications/PDFViewer/NumericInput.cpp index 3fb3e79243..fcd5769e5c 100644 --- a/Userland/Applications/PDFViewer/NumericInput.cpp +++ b/Userland/Applications/PDFViewer/NumericInput.cpp @@ -29,7 +29,6 @@ NumericInput::NumericInput() auto new_number_opt = builder.to_string().to_int(); if (!new_number_opt.has_value()) { m_needs_text_reset = true; - set_text(builder.to_string()); return; } else { m_needs_text_reset = false;