Changeset 6431 for trunk/qt-gui

Show
Ignore:
Timestamp:
07/07/08 06:05:09 (5 months ago)
Author:
flynd
Message:

Change back to text message automatically after sending URI/File/ChatRequest/Contacts as that's probably what most users want.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt-gui/src/usereventdlg.cpp

    r6430 r6431  
    24312431    return; 
    24322432  }*/ 
    2433   else 
    2434   { 
    2435     emit autoCloseNotify(); 
    2436     if (sendDone(e)) 
    2437     { 
    2438       emit mainwin->signal_sentevent(e); 
    2439       if (mainwin->m_bMsgChatView && mleHistory != NULL) 
    2440       { 
    2441         mleHistory->GotoEnd(); 
    2442         resetSettings(); 
    2443       } 
    2444       else 
    2445         close(); 
    2446     } 
     2433 
     2434  emit autoCloseNotify(); 
     2435  if (sendDone(e)) 
     2436  { 
     2437    emit mainwin->signal_sentevent(e); 
     2438    if (mainwin->m_bMsgChatView && mleHistory != NULL) 
     2439    { 
     2440      mleHistory->GotoEnd(); 
     2441      resetSettings(); 
     2442 
     2443      // After sending URI/File/Contact/ChatRequest switch back to text message 
     2444      if (!isType(UC_MESSAGE)) 
     2445        changeEventType(UC_MESSAGE); 
     2446    } 
     2447    else 
     2448      close(); 
    24472449  } 
    24482450}