We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52b36f1 commit 14915a4Copy full SHA for 14915a4
Editor/GUIEditorApp.cpp
@@ -192,7 +192,7 @@ namespace RTEGUI {
192
193
if (item) {
194
// Try to find the box of that name, and select it
195
- GUIControl *boxControl = m_ControlManager->GetControl(item->m_Name);
+ GUIControl *boxControl = m_ControlManager->GetControl(item->m_Name.substr(item->m_Name.find_first_not_of('\t'), std::string::npos));
196
if (boxControl) {
197
m_SelectionInfo.GrabbedControl = false;
198
m_SelectionInfo.GrabbedHandle = false;
0 commit comments