From d9bb05037d517b3f26d03629200410b534d88d42 Mon Sep 17 00:00:00 2001 From: NiranV Date: Thu, 31 Jul 2014 07:25:28 +0200 Subject: STORM-2050: Fixed: Postcard tab buttons can get 'out of sync'. --- indra/newview/llpanelsnapshotpostcard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llpanelsnapshotpostcard.cpp b/indra/newview/llpanelsnapshotpostcard.cpp index 95c443b826..703ac25f97 100755 --- a/indra/newview/llpanelsnapshotpostcard.cpp +++ b/indra/newview/llpanelsnapshotpostcard.cpp @@ -232,9 +232,9 @@ void LLPanelSnapshotPostcard::onTabButtonPress(S32 btn_idx) getChild("postcard_panel_container"); container->selectTab(clicked_btn->getToggleState() ? btn_idx : !btn_idx); - //clicked_btn->setEnabled(FALSE); + clicked_btn->setEnabled(FALSE); other_btn->toggleState(); - //other_btn->setEnabled(TRUE); + other_btn->setEnabled(TRUE); LL_DEBUGS() << "Button #" << btn_idx << " (" << clicked_btn->getName() << ") clicked" << LL_ENDL; } -- cgit v1.2.3