diff options
Diffstat (limited to 'src/gui/guiVolumeChange.cpp')
-rw-r--r-- | src/gui/guiVolumeChange.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/guiVolumeChange.cpp b/src/gui/guiVolumeChange.cpp index e0cb6fa72..45d2ee139 100644 --- a/src/gui/guiVolumeChange.cpp +++ b/src/gui/guiVolumeChange.cpp @@ -58,6 +58,9 @@ void GUIVolumeChange::removeChildren() if (gui::IGUIElement *e = getElementFromId(ID_soundSlider)) e->remove(); + + if (gui::IGUIElement *e = getElementFromId(ID_soundMuteButton)) + e->remove(); } void GUIVolumeChange::regenerateGui(v2u32 screensize) @@ -193,4 +196,3 @@ bool GUIVolumeChange::OnEvent(const SEvent& event) return Parent ? Parent->OnEvent(event) : false; } - |