فهرست منبع

Merge pull request #1196 from brakhane/scrollVisible-missing-return

Confirmed that this is needed to compile and fixes the problem.
Areloch 10 سال پیش
والد
کامیت
a7740bc587
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Engine/source/gui/controls/guiTreeViewCtrl.cpp

+ 1 - 1
Engine/source/gui/controls/guiTreeViewCtrl.cpp

@@ -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), ,