aboutsummaryrefslogtreecommitdiff
path: root/src/charselect.cpp
diff options
context:
space:
mode:
authorstonedDiscord <10584181+stonedDiscord@users.noreply.github.com>2020-11-05 23:27:43 +0100
committerstonedDiscord <10584181+stonedDiscord@users.noreply.github.com>2020-11-05 23:27:43 +0100
commit0a5e5582a361b57829724c8fbe3f30b435254e6e (patch)
treee114c8dbab76c71df0c038490b272868519f841a /src/charselect.cpp
parentc1dfb4928c880dfe9980e2ff39cdd164e15ceb52 (diff)
stop them from dragging the charselect
Diffstat (limited to 'src/charselect.cpp')
-rw-r--r--src/charselect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charselect.cpp b/src/charselect.cpp
index 66223f3c..b5439340 100644
--- a/src/charselect.cpp
+++ b/src/charselect.cpp
@@ -74,10 +74,10 @@ void Courtroom::set_char_select()
if (f_charselect.width < 0 || f_charselect.height < 0) {
qDebug() << "W: did not find char_select width or height in "
"courtroom_design.ini!";
- this->resize(714, 668);
+ this->setFixedSize(714, 668);
}
else
- this->resize(f_charselect.width, f_charselect.height);
+ this->setFixedSize(f_charselect.width, f_charselect.height);
ui_char_select_background->resize(f_charselect.width, f_charselect.height);
ui_char_select_background->set_image("charselect_background");