diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-17 18:45:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-17 18:45:21 +0300 |
commit | bc9712cfb34a891a64bd28b76df0f9f4e5d01513 (patch) | |
tree | f8687ee78d213e5a90572fc06b642d24f9ad28de /src/gui/widgets/dropdown.cpp | |
parent | 37c0c88a7b96919470a0abed8e17b3a0352ca49d (diff) | |
download | mv-bc9712cfb34a891a64bd28b76df0f9f4e5d01513.tar.gz mv-bc9712cfb34a891a64bd28b76df0f9f4e5d01513.tar.bz2 mv-bc9712cfb34a891a64bd28b76df0f9f4e5d01513.tar.xz mv-bc9712cfb34a891a64bd28b76df0f9f4e5d01513.zip |
Fix server type dropdown in new server dialog.
Diffstat (limited to 'src/gui/widgets/dropdown.cpp')
-rw-r--r-- | src/gui/widgets/dropdown.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp index a7eb819d7..d4fde01dc 100644 --- a/src/gui/widgets/dropdown.cpp +++ b/src/gui/widgets/dropdown.cpp @@ -60,6 +60,7 @@ static std::string const dropdownFiles[2] = DropDown::DropDown(const Widget2 *const widget, gcn::ListModel *const listModel, bool extended, + bool modal, gcn::ActionListener *const listener, const std::string &eventId): gcn::ActionListener(), @@ -70,7 +71,7 @@ DropDown::DropDown(const Widget2 *const widget, gcn::SelectionListener(), Widget2(widget), mExtended(extended), - mPopup(new PopupList(this, listModel, extended)), + mPopup(new PopupList(this, listModel, extended, modal)), mShadowColor(getThemeColor(Theme::DROPDOWN_SHADOW)), mHighlightColor(getThemeColor(Theme::HIGHLIGHT)), mPadding(1), |