File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,8 @@ namespace RTEGUI {
155
155
}
156
156
m_GridSize = validEntry ? std::clamp (std::stoi (newValue), 0 , 255 ) : m_GridSize;
157
157
dynamic_cast <GUITextBox *>(editorEvent.GetControl ())->SetText (std::to_string (m_GridSize));
158
+
159
+ m_EditorBase->SetFocus ();
158
160
}
159
161
160
162
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -165,6 +167,7 @@ namespace RTEGUI {
165
167
GUIControl *control = m_SelectionInfo.Control ;
166
168
if (control) { control->ApplyProperties (m_PropertyPage->GetPropertyValues ()); }
167
169
m_UnsavedChanges = true ;
170
+ m_EditorBase->SetFocus ();
168
171
}
169
172
if (editorEvent.GetMsg () == GUIPropertyPage::Changed) {
170
173
// The properties are dirty and need to be updated
@@ -208,6 +211,7 @@ namespace RTEGUI {
208
211
209
212
m_ControlsInActiveCollectionBoxList->ClearList ();
210
213
}
214
+ m_EditorBase->SetFocus ();
211
215
}
212
216
213
217
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
You can’t perform that action at this time.
0 commit comments