diff options
| author | Calvin Morrison <calvin@pobox.com> | 2026-06-09 11:29:56 -0400 |
|---|---|---|
| committer | Calvin Morrison <calvin@pobox.com> | 2026-06-09 11:29:56 -0400 |
| commit | e27c269a32ab8a25ab761d0c39edd20f350195f1 (patch) | |
| tree | 08db6cbe461506d7fbfcfdb55018082911b877e3 /src/ui/mixerwindow.cpp | |
| parent | f929977083c64263c54de43554a6cb64814caa9c (diff) | |
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 <calvin@pobox.com>
Diffstat (limited to 'src/ui/mixerwindow.cpp')
| -rw-r--r-- | src/ui/mixerwindow.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
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( |
