EXT-7138 WIP More tidying up after the removal of the play button in the voice effect preview.

master
Aimee Linden 2010-05-24 16:30:22 +01:00
parent d85464bb33
commit a48c8a3aca
1 changed files with 0 additions and 2 deletions

View File

@ -216,13 +216,11 @@ void LLFloaterVoiceEffect::refreshEffectList()
void LLFloaterVoiceEffect::updateControls()
{
bool recording = false;
bool playing = false;
LLVoiceEffectInterface* effect_interface = LLVoiceClient::instance().getVoiceEffectInterface();
if (effect_interface)
{
recording = effect_interface->isPreviewRecording();
playing = effect_interface->isPreviewPlaying();
}
getChild<LLButton>("record_btn")->setVisible(!recording);