dialog: content shall forward focus
This commit is contained in:
committed by
Raphael Coeffic
parent
e97cff4dcb
commit
c136ddda87
+1
-1
@@ -26,7 +26,7 @@ DialogWindowContent::DialogWindowContent(Dialog* parent, const rect_t& rect) :
|
|||||||
form(this,
|
form(this,
|
||||||
{ 0, POPUP_HEADER_HEIGHT, rect.w,
|
{ 0, POPUP_HEADER_HEIGHT, rect.w,
|
||||||
coord_t(rect.h - POPUP_HEADER_HEIGHT) },
|
coord_t(rect.h - POPUP_HEADER_HEIGHT) },
|
||||||
FORM_NO_BORDER)
|
FORM_NO_BORDER | FORM_FORWARD_FOCUS)
|
||||||
{
|
{
|
||||||
form.setFocus(SET_FOCUS_DEFAULT);
|
form.setFocus(SET_FOCUS_DEFAULT);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user