summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/listbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/listbox.cpp')
-rw-r--r--src/guichan/widgets/listbox.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/guichan/widgets/listbox.cpp b/src/guichan/widgets/listbox.cpp
index 66ddf8315..35978f648 100644
--- a/src/guichan/widgets/listbox.cpp
+++ b/src/guichan/widgets/listbox.cpp
@@ -96,7 +96,6 @@ namespace gcn
void ListBox::logic()
{
- adjustSize();
}
int ListBox::getSelected() const
@@ -186,8 +185,6 @@ namespace gcn
void ListBox::adjustSize()
{
- if (mListModel)
- setHeight(getRowHeight() * mListModel->getNumberOfElements());
}
bool ListBox::isWrappingEnabled() const