aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenen92 <92enen@gmail.com>2021-09-21 22:06:20 +0100
committerenen92 <92enen@gmail.com>2021-09-27 15:06:09 +0100
commitb194f2e3dab11370f038b9174e1bd039286ccdb2 (patch)
treec187f712dc9d91a6d09fa883b92d5a32ea96c601
parentcbf41d5e422b2a9a38068ec50d5157ffb1a9984a (diff)
[CGUIDialogVolumeBar] Fix dialog not updating values if smartredraw is enabled
-rw-r--r--xbmc/dialogs/GUIDialogVolumeBar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/dialogs/GUIDialogVolumeBar.cpp b/xbmc/dialogs/GUIDialogVolumeBar.cpp
index 58680de250..8f0dfc9234 100644
--- a/xbmc/dialogs/GUIDialogVolumeBar.cpp
+++ b/xbmc/dialogs/GUIDialogVolumeBar.cpp
@@ -30,13 +30,13 @@ bool CGUIDialogVolumeBar::OnAction(const CAction &action)
if (g_application.IsMuted() || g_application.GetVolumeRatio() <= VOLUME_MINIMUM)
{ // cancel the timer, dialog needs to stay visible
CancelAutoClose();
- return true;
}
else
{ // reset the timer, as we've changed the volume level
SetAutoClose(VOLUME_BAR_DISPLAY_TIME);
- return true;
}
+ MarkDirtyRegion();
+ return true;
}
return CGUIDialog::OnAction(action);
}