Show
Ignore:
Timestamp:
04/12/08 21:25:28 (8 months ago)
Author:
flynd
Message:

Improved event auto popup to prevent focus stealing from other event windows. Focus is still stolen when opening new windows and minimized windows do not become active after they are restored.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/userevents/usereventtabdlg.cpp

    r6108 r6145  
    8282  updateTabLabel(u); 
    8383  gUserManager.DropUser(u); 
    84   QWidget* fw = myTabs->focusWidget(); 
    85   if (Config::Chat::instance()->autoFocus()) 
    86     myTabs->setCurrentIndex(index); 
    87   else 
    88     if (fw != NULL) 
    89       fw->setFocus(); 
    9084} 
    9185