Merge pull request #513 from AttorneyOnline/fix/chat-arrow-display
Fix chat arrow being displayed even when blankposting
This commit is contained in:
		
						commit
						8dd7b4fa3c
					
				@ -1990,15 +1990,6 @@ void Courtroom::chatmessage_enqueue(QStringList p_contents)
 | 
			
		||||
 | 
			
		||||
void Courtroom::chatmessage_dequeue()
 | 
			
		||||
{
 | 
			
		||||
  // Chat stopped being processed, indicate that the user can post their message now.
 | 
			
		||||
  QString f_custom_theme;
 | 
			
		||||
  if (ao_app->is_customchat_enabled()) {
 | 
			
		||||
    QString f_char = m_chatmessage[CHAR_NAME];
 | 
			
		||||
    f_custom_theme = ao_app->get_chat(f_char);
 | 
			
		||||
  }
 | 
			
		||||
  ui_vp_chat_arrow->transform_mode = ao_app->get_misc_scaling(f_custom_theme);
 | 
			
		||||
  ui_vp_chat_arrow->load_image("chat_arrow", f_custom_theme);
 | 
			
		||||
 | 
			
		||||
  // Nothing to parse in the queue
 | 
			
		||||
  if (chatmessage_queue.isEmpty())
 | 
			
		||||
    return;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user