fixing stuff

This commit is contained in:
kkoenig1@optonline.com
2021-08-25 16:53:47 -04:00
parent 75110d2f0d
commit 36e048cde3
2 changed files with 3 additions and 16 deletions
+3 -14
View File
@@ -103,14 +103,11 @@ void NumberEdit::onEvent(event_t event)
}
#endif
case EVT_KEY_FIRST(KEY_EXIT):
return;
case EVT_KEY_BREAK(KEY_EXIT):
case EVT_KEY_FIRST(KEY_EXIT):
#if defined(SOFTWARE_KEYBOARD)
Keyboard::hide();
Keyboard::hide();
#endif
break;
break;
#if defined(HARDWARE_TOUCH)
@@ -174,11 +171,3 @@ bool NumberEdit::onTouchEnd(coord_t, coord_t)
}
#endif
void NumberEdit::onFocusLost()
{
#if defined(SOFTWARE_KEYBOARD)
Keyboard::hide();
#endif
FormField::onFocusLost();
}
-2
View File
@@ -67,8 +67,6 @@ class NumberEdit : public BaseNumberEdit
bool onTouchEnd(coord_t x, coord_t y) override;
#endif
void onFocusLost() override;
protected:
std::function<void(BitmapBuffer *, LcdFlags, int)> displayFunction;
std::string prefix;