From e27c269a32ab8a25ab761d0c39edd20f350195f1 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Tue, 9 Jun 2026 11:29:56 -0400 Subject: fix systray opening wrong screen on PA backend Show mixer would actually show devices if devices was previously opened becuase we were only just popping the window. instead now it works like show devices and always shows the mixer screen Signed-off-by: Calvin Morrison --- src/ui/mixerwindow.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/ui/mixerwindow.cpp') diff --git a/src/ui/mixerwindow.cpp b/src/ui/mixerwindow.cpp index 2bc5b4c..3311b9c 100644 --- a/src/ui/mixerwindow.cpp +++ b/src/ui/mixerwindow.cpp @@ -267,6 +267,21 @@ void MixerWindow::showDevices() bringToFront(); } +void MixerWindow::showMixer() +{ + if ( m_devicesInTabs ) { + m_outerStack->raiseWidget( 0 ); + if ( m_tabs->currentPage() == m_devicesPage ) + m_tabs->showPage( m_output.scroll ); + } else { + m_outerStack->raiseWidget( 0 ); + updateDevicesButton(); + repositionDevicesBtn(); + m_devicesBtn->raise(); + } + bringToFront(); +} + void MixerWindow::showAbout() { TDEAboutData about( -- cgit v1.2.3