Changeset 45

Show
Ignore:
Timestamp:
09/10/06 18:42:41 (2 years ago)
Author:
dmik
Message:

Psi: When opening a chat window, process chat events after bringing it to front (just to avoid ambuiguity, because processing events can also result into bringing it to front).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • psi/trunk/src/psiaccount.cpp

    r2 r45  
    31853185{ 
    31863186        ChatDlg *c = ensureChatDlg(j); 
    3187         processChats(j); 
    31883187        if ( option.useTabs ) 
    31893188        { 
     
    31953194                TabDlg* tabSet = d->psi->getManagingTabs(c); 
    31963195                tabSet->selectTab(c); 
    3197         } 
    3198         bringToFront(c); 
     3196                bringToFront(tabSet); 
     3197        } 
     3198        else 
     3199                bringToFront(c); 
     3200        // process chat messages after we've shown the window to avoid 
     3201        // ambiguity (processChats() can also result into bringToFront())  
     3202        processChats(j); 
    31993203} 
    32003204