Fix the issue reported in group chat in which closing preferences with Device Settings open does not return to local voice

This commit is contained in:
Lirusaito
2013-06-23 22:16:40 -04:00
parent 64bd7af0ca
commit 7a88b9a8a4

View File

@@ -60,6 +60,7 @@ LLPanelVoiceDeviceSettings::LLPanelVoiceDeviceSettings()
LLPanelVoiceDeviceSettings::~LLPanelVoiceDeviceSettings()
{
if (getVisible()) cleanup(); // Singu Note: If we're still visible, we'll need to cleanup
}
BOOL LLPanelVoiceDeviceSettings::postBuild()