From 24d3186834bd7f0a9d81173fc89ac569801f2c07 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Wed, 13 Nov 2024 18:00:21 -0800 Subject: [PATCH] quicksettings/audio: Close action drawer when opening volume osd Now that the action drawer no longer takes focus, we need to manually trigger the action drawer to close when opening the volume osd. --- quicksettings/audio/contents/ui/main.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quicksettings/audio/contents/ui/main.qml b/quicksettings/audio/contents/ui/main.qml index a706fe0d..8efafb3e 100644 --- a/quicksettings/audio/contents/ui/main.qml +++ b/quicksettings/audio/contents/ui/main.qml @@ -15,6 +15,7 @@ QS.QuickSetting { settingsCommand: "plasma-open-settings kcm_pulseaudio" function toggle() { - MobileShellState.ShellDBusClient.showVolumeOSD() + MobileShellState.ShellDBusClient.closeActionDrawer(); + MobileShellState.ShellDBusClient.showVolumeOSD(); } }