Address Issue 1732: Display name in the Communication box
Adds Chat Tabs namesystem combobox to Adv. Chat->Chat UI.
This commit is contained in:
@@ -265,6 +265,7 @@ void LLPrefsAscentChat::refreshValues()
|
||||
mLegacyEndScroll = gSavedSettings.getBOOL("LiruLegacyScrollToEnd");
|
||||
mItalicizeActions = gSavedSettings.getBOOL("LiruItalicizeActions");
|
||||
mLegacyLogLaunch = gSavedSettings.getBOOL("LiruLegacyLogLaunch");
|
||||
mChatTabNames = gSavedSettings.getS32("IMNameSystem");
|
||||
mFriendNames = gSavedSettings.getS32("FriendNameSystem");
|
||||
mGroupMembersNames = gSavedSettings.getS32("GroupMembersNameSystem");
|
||||
mLandManagementNames = gSavedSettings.getS32("LandManagementNameSystem");
|
||||
@@ -348,6 +349,8 @@ void LLPrefsAscentChat::refresh()
|
||||
}
|
||||
|
||||
//Chat UI -----------------------------------------------------------------------------
|
||||
if (combo = getChild<LLComboBox>("chat_tabs_namesystem_combobox"))
|
||||
combo->setCurrentByIndex(mChatTabNames);
|
||||
if (combo = getChild<LLComboBox>("friends_namesystem_combobox"))
|
||||
combo->setCurrentByIndex(mFriendNames);
|
||||
if (combo = getChild<LLComboBox>("group_members_namesystem_combobox"))
|
||||
@@ -501,6 +504,7 @@ void LLPrefsAscentChat::cancel()
|
||||
gSavedSettings.setBOOL("LiruLegacyScrollToEnd", mLegacyEndScroll);
|
||||
gSavedSettings.setBOOL("LiruItalicizeActions", mItalicizeActions);
|
||||
gSavedSettings.setBOOL("LiruLegacyLogLaunch", mLegacyLogLaunch);
|
||||
gSavedSettings.setS32("IMNameSystem", mChatTabNames);
|
||||
gSavedSettings.setS32("FriendNameSystem", mFriendNames);
|
||||
gSavedSettings.setS32("GroupMembersNameSystem", mGroupMembersNames);
|
||||
gSavedSettings.setS32("LandManagementNameSystem", mLandManagementNames);
|
||||
|
||||
Reference in New Issue
Block a user