Browse Source

Fixes a bug where panels specified in rml were not added to the tabset.

Michael Ragazzon 6 years ago
parent
commit
ea0c176ecb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Controls/XMLNodeHandlerTabSet.cpp

+ 1 - 1
Source/Controls/XMLNodeHandlerTabSet.cpp

@@ -103,7 +103,7 @@ Core::Element* XMLNodeHandlerTabSet::ElementStart(Core::XMLParser* parser, const
 			tabset->SetPanel(-1, std::move(panel_element));
 		}
 
-		return panel_element.get();
+		return result;
 	}
 	else if (name == "tabs" || name == "panels")
 	{