stop them from dragging the courtroom

This commit is contained in:
stonedDiscord 2020-11-05 23:27:49 +01:00
parent 0a5e5582a3
commit 1e1ada7437

View File

@ -449,13 +449,13 @@ void Courtroom::set_widgets()
if (f_courtroom.width < 0 || f_courtroom.height < 0) {
qDebug() << "W: did not find courtroom width or height in " << filename;
this->resize(714, 668);
this->setFixedSize(714, 668);
}
else {
m_courtroom_width = f_courtroom.width;
m_courtroom_height = f_courtroom.height;
this->resize(f_courtroom.width, f_courtroom.height);
this->setFixedSize(f_courtroom.width, f_courtroom.height);
}
set_fonts();