Commit c0cd1746 authored by NiranV's avatar NiranV
Browse files

Fixed: Viewer Location buttons being falsely greyed out when they shouldn't...

Fixed: Viewer Location buttons being falsely greyed out when they shouldn't and others not being greyed out when they should.
parent 3b349611
......@@ -1926,7 +1926,10 @@ void LLFloaterPreference::refreshEverything()
if (mTabContainer->getCurrentPanelIndex() == 12)
{
getChild<LLButton>("open_log_path_button")->setEnabled(LLStartUp::getStartupState() == STATE_STARTED);
getChild<LLUICtrl>("open_transcript_path_button")->setEnabled(LLStartUp::getStartupState() == STATE_STARTED);
getChild<LLUICtrl>("default_chatlog_location")->setEnabled(LLStartUp::getStartupState() == STATE_STARTED);
getChild<LLUICtrl>("chatlog_path_button")->setEnabled(LLStartUp::getStartupState() == STATE_STARTED);
getChild<LLUICtrl>("chatlog_path_string")->setEnabled(LLStartUp::getStartupState() == STATE_STARTED);
}
}
......
......@@ -767,7 +767,7 @@ width="510">
tool_tip="This button opens the currently set chatlog path."
layout="topleft"
left_pad="5"
name="open_log_path_button"
name="open_transcript_path_button"
top_delta="0"
width="55">
<commit_callback
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment