summaryrefslogtreecommitdiff
path: root/src/gui/windows/textselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/textselectdialog.cpp')
-rw-r--r--src/gui/windows/textselectdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/textselectdialog.cpp b/src/gui/windows/textselectdialog.cpp
index ebbee9528..d533f3838 100644
--- a/src/gui/windows/textselectdialog.cpp
+++ b/src/gui/windows/textselectdialog.cpp
@@ -78,7 +78,8 @@ void TextSelectDialog::postInit()
mModel,
"listbox.xml");
mScrollArea = new ScrollArea(this, mItemList,
- getOptionBool("showbackground"), "sell_background.xml");
+ fromBool(getOptionBool("showbackground"), Opaque),
+ "sell_background.xml");
mScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
mSelectButton = new Button(this,