From f0221db4113cde26a5dcc52891b066734f01a1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C4=8Cejchan?= Date: Fri, 28 Jun 2024 13:41:01 +0200 Subject: [PATCH] WiSpin: Fix OnClick not being called on touch Noticed this when I changed the print speed via touch and nothing happened. --- src/guiapi/src/WindowMenuSpin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/guiapi/src/WindowMenuSpin.cpp b/src/guiapi/src/WindowMenuSpin.cpp index a2aacae12e..0300dda94d 100644 --- a/src/guiapi/src/WindowMenuSpin.cpp +++ b/src/guiapi/src/WindowMenuSpin.cpp @@ -37,6 +37,7 @@ void WiSpin::touch(IWindowMenu &window_menu, point_ui16_t relative_touch_point) const auto r = DialogNumericInput::exec(GetLabel(), value(), config_); if (r.has_value()) { set_value(*r); + OnClick(); } } }