Show
Ignore:
Timestamp:
04/17/08 04:23:51 (8 months ago)
Author:
flynd
Message:

Don't try to steal focus when part of a tabbed dialog and another tab is selected. Note: This does not solve the problem as the call to setEnabled() a few lines up steals the focus anyway.

Files:
1 modified

Legend:

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

    r6108 r6157  
    11471147 
    11481148  if (myMessageEdit != NULL) 
    1149     myMessageEdit->setFocus(); 
     1149    if(tabDlg == NULL || !tabDlg->tabExists(this) || tabDlg->tabIsSelected(this)) 
     1150      myMessageEdit->setFocus(); 
    11501151 
    11511152  if (e->Result() != EVENT_ACKED)