aboutsummaryrefslogtreecommitdiff
path: root/src/ui/components/Input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/components/Input.cpp')
-rw-r--r--src/ui/components/Input.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/components/Input.cpp b/src/ui/components/Input.cpp
index b308ed51..6a53b938 100644
--- a/src/ui/components/Input.cpp
+++ b/src/ui/components/Input.cpp
@@ -1,9 +1,11 @@
#include "cru/ui/components/Input.h"
-#include <cmath>
-#include <optional>
+#include "cru/base/Format.h"
#include "cru/base/StringToNumberConverter.h"
#include "cru/ui/controls/Control.h"
+#include <cmath>
+#include <optional>
+
namespace cru::ui::components {
Input::Input() : last_validate_result_{true, u"Good value"} {
text_box_.TextChangeEvent()->AddSpyOnlyHandler([this] {