Skip to content

Commit 0241c3b

Browse files
committed
call parent on[gain/lose]focus
1 parent 66d5f19 commit 0241c3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/GUI/GUITextPanel.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,12 @@ void GUITextPanel::Draw(GUIScreen* Screen) {
141141
}
142142

143143
void GUITextPanel::OnGainFocus() {
144+
GUIPanel::OnGainFocus();
144145
m_Manager->GetInputController()->StartTextInput();
145146
}
146147

147148
void GUITextPanel::OnLoseFocus() {
149+
GUIPanel::OnLoseFocus();
148150
m_Manager->GetInputController()->StopTextInput();
149151
}
150152

0 commit comments

Comments
 (0)