dialog: content shall forward focus

This commit is contained in:
Raphael Coeffic
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent e97cff4dcb
commit c136ddda87
+1 -1
View File
@@ -26,7 +26,7 @@ DialogWindowContent::DialogWindowContent(Dialog* parent, const rect_t& rect) :
form(this,
{ 0, POPUP_HEADER_HEIGHT, rect.w,
coord_t(rect.h - POPUP_HEADER_HEIGHT) },
FORM_NO_BORDER)
FORM_NO_BORDER | FORM_FORWARD_FOCUS)
{
form.setFocus(SET_FOCUS_DEFAULT);
}