mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
return the result value of scrollVisible
The console function changed from void to bool, so we should actually return the value. Also, the missing return is an error in VS2013.
This commit is contained in:
parent
7992865525
commit
b580b4a542
|
|
@ -4924,7 +4924,7 @@ DefineEngineMethod( GuiTreeViewCtrl, scrollVisible, bool, ( S32 itemID), ,
|
|||
"@param itemID TreeItemId of item to scroll to/make visible.\n"
|
||||
"@return True if it was successful, false if not.")
|
||||
{
|
||||
object->scrollVisible(itemID);
|
||||
return object->scrollVisible(itemID);
|
||||
}
|
||||
|
||||
DefineEngineMethod( GuiTreeViewCtrl, buildIconTable, bool, ( const char* icons), ,
|
||||
|
|
|
|||
Loading…
Reference in a new issue