Changeset 45


Ignore:
Timestamp:
Sep 10, 2006, 6:42:41 PM (19 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).

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.