diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-04-11 20:44:47 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-04-11 20:44:47 +0000 |
| commit | 86ca407a01d6a79dc66a86f51328997803b87f43 (patch) | |
| tree | a3d040bf7fd150df0faa29a830541d3892a49766 /src/ui | |
| parent | e77cfee0a11312973195d236a6635af7e3eaef81 (diff) | |
| download | qmmp-86ca407a01d6a79dc66a86f51328997803b87f43.tar.gz qmmp-86ca407a01d6a79dc66a86f51328997803b87f43.tar.bz2 qmmp-86ca407a01d6a79dc66a86f51328997803b87f43.zip | |
disable visual plugin if it was closed by user
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@340 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/mainwindow.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index d35499282..e177426f1 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -369,9 +369,13 @@ void MainWindow::showOutputState(const OutputState &st) case OutputState::Volume: { m_generalHandler->setVolume(st.leftVolume(), st.rightVolume()); + break; + } + case OutputState::VisualRemoved: + { + m_visMenu->updateActions(); } } - } void MainWindow::showDecoderState(const DecoderState &st) { |
