fixing stuff
This commit is contained in:
+3
-14
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user