From 4d1b0517e3d5704b26df7d8a9a492d182d36ea4b Mon Sep 17 00:00:00 2001 From: Salanto <62221668+Salanto@users.noreply.github.com> Date: Wed, 31 Jul 2024 11:55:25 +0200 Subject: V2.11.0 rc1 fixes (#1029) * Use unix timestamp to transmit ban duration * Cleanup compiler warning due to narrowing conversion * Fix preanim not being visible This is apparently not a feature we want from WebAO :^) * Bump to RC2 * Use std::chrono instead * Remove random include and debug call --- data/ui/moderator_action_dialog.ui | 57 +++++++++++++++++++++++++------------- 1 file changed, 37 insertions(+), 20 deletions(-) (limited to 'data') diff --git a/data/ui/moderator_action_dialog.ui b/data/ui/moderator_action_dialog.ui index 723db979..a4290c44 100644 --- a/data/ui/moderator_action_dialog.ui +++ b/data/ui/moderator_action_dialog.ui @@ -19,20 +19,10 @@ 6 - - - - true - - - Permanent - - - - - + + - Duration + Action @@ -43,15 +33,22 @@ - - + + - Action + Duration + + + + + + + Minute(s) - - + + true @@ -59,11 +56,31 @@ Hour(s) - 1 + 0 876000 + + 0 + + + + + + + Day(s) + + + + + + + true + + + Permanent + @@ -116,7 +133,7 @@ li.checked::marker { content: "\2612"; } permanent clicked(bool) - duration + duration_hh setDisabled(bool) -- cgit