diff options
Diffstat (limited to 'src/gui/widgets/popuplist.cpp')
-rw-r--r-- | src/gui/widgets/popuplist.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/popuplist.cpp b/src/gui/widgets/popuplist.cpp index ca9ef2c7d..ccd186197 100644 --- a/src/gui/widgets/popuplist.cpp +++ b/src/gui/widgets/popuplist.cpp @@ -36,8 +36,9 @@ PopupList::PopupList(DropDown *const widget, Popup("PopupList", "popuplist.xml"), gcn::FocusListener(), mListModel(listModel), - mListBox(extended ? new ExtendedListBox(widget, listModel, 0) : - new ListBox(widget, listModel)), + mListBox(extended ? new ExtendedListBox( + widget, listModel, "extendedlistbox.xml", 0) : + new ListBox(widget, listModel, "popuplistbox.xml")), mScrollArea(new ScrollArea(mListBox, false)), mDropDown(widget), mModal(modal) |