Reset number of dynamic width columns in LLScrollListCtrl when calling clearColumns()

Ansariel 2014-08-06 11:20:01 +02:00
parent 192d9cd163
commit 79c812213a
1 changed files with 3 additions and 0 deletions

View File

@ -2994,6 +2994,9 @@ void LLScrollListCtrl::clearColumns()
mSortColumns.clear();
mTotalStaticColumnWidth = 0;
mTotalColumnPadding = 0;
// <FS:Ansariel> Reset number of dynamic columns, too
mNumDynamicWidthColumns = 0;
}
void LLScrollListCtrl::setColumnLabel(const std::string& column, const std::string& label)