aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSalanto <62221668+Salanto@users.noreply.github.com>2024-08-28 17:34:54 +0200
committerGitHub <noreply@github.com>2024-08-28 10:34:54 -0500
commitc4d94cec42ea35d3b28cb1aec8b37991fc605a11 (patch)
treef48843108e814e80b635c8866d4b7eb56c514d3d /src
parentdad625ccd43fd5526d94e50ac3973da1a1f60cd3 (diff)
Fix PlayerList and Slide button not showing up (#1041)
Diffstat (limited to 'src')
-rw-r--r--src/courtroom.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 135f681f..2d301081 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -878,6 +878,7 @@ void Courtroom::set_widgets()
}
set_size_and_pos(ui_player_list, "player_list");
+ ui_player_list->show();
QString music_list_animated = ao_app->get_design_element("music_list_animated", "courtroom_design.ini");
ui_music_list->setAnimated(music_list_animated == "1" || music_list_animated.startsWith("true"));
@@ -1098,6 +1099,7 @@ void Courtroom::set_widgets()
set_size_and_pos(ui_slide_enable, "slide_enable");
ui_slide_enable->setToolTip(tr("Allow your messages to trigger slide animations when checked."));
+ ui_slide_enable->show();
set_size_and_pos(ui_custom_objection, "custom_objection");
ui_custom_objection->setText(tr("Custom Shout!"));
@@ -1341,7 +1343,6 @@ void Courtroom::set_size_and_pos(QWidget *p_widget, QString p_identifier, QStrin
}
else
{
- p_widget->show();
p_widget->move(design_ini_result.x, design_ini_result.y);
p_widget->resize(design_ini_result.width, design_ini_result.height);
}