We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e6ced65 + ff7c45c commit 617f956Copy full SHA for 617f956
1 file changed
src/emotes.cpp
@@ -39,6 +39,11 @@ void Courtroom::refresh_emotes()
39
QPoint p_point =
40
ao_app->get_button_spacing("emote_button_size", "courtroom_design.ini");
41
42
+ if (ui_emotes->width() == 0 || ui_emotes->height() == 0) { // Workaround for a nasty crash
43
+ ui_emotes->hide();
44
+ return;
45
+ }
46
+
47
const int button_width = p_point.x();
48
int x_spacing = f_spacing.x();
49
int x_mod_count = 0;
0 commit comments