diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2008-01-17 02:27:46 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2008-01-17 02:27:46 +0300 |
commit | abc6336f3e04a6e82e371b90ea9b14243f6d2b14 (patch) | |
tree | d05bb6f20e059db6011f46af1886b3c55eb3fbdc | |
parent | 15709d08acd3ce7e4e8e09253d72f2a7ecd98cb7 (diff) |
Disallow local mute of self
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@922 05730e5d-ab1b-0410-a4ac-84af385074fa
-rw-r--r-- | src/mumble/MainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mumble/MainWindow.cpp b/src/mumble/MainWindow.cpp index 803420297..96be06d75 100644 --- a/src/mumble/MainWindow.cpp +++ b/src/mumble/MainWindow.cpp @@ -354,7 +354,7 @@ void MainWindow::on_qmPlayer_aboutToShow() { qaPlayerKick->setEnabled(true); qaPlayerBan->setEnabled(true); qaPlayerMute->setEnabled(true); - qaPlayerLocalMute->setEnabled(true); + qaPlayerLocalMute->setEnabled(p->uiSession != g.uiSession); qaPlayerDeaf->setEnabled(true); qaPlayerMute->setChecked(p->bMute); qaPlayerLocalMute->setChecked(p->bLocalMute); |