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/qt4-gui/src/userevents/usersendcommon.cpp

    r6430 r6431  
    11891189    return; 
    11901190  } 
    1191   else 
    1192   { 
    1193     emit autoCloseNotify(); 
    1194     if (sendDone(e)) 
    1195     { 
    1196       emit eventSent(e); 
    1197       if (Config::Chat::instance()->msgChatView() && myHistoryView != NULL) 
    1198       { 
    1199         myHistoryView->GotoEnd(); 
    1200         resetSettings(); 
    1201       } 
    1202       else 
    1203         close(); 
    1204     } 
     1191 
     1192  emit autoCloseNotify(); 
     1193  if (sendDone(e)) 
     1194  { 
     1195    emit eventSent(e); 
     1196    if (Config::Chat::instance()->msgChatView() && myHistoryView != NULL) 
     1197    { 
     1198      myHistoryView->GotoEnd(); 
     1199      resetSettings(); 
     1200 
     1201      // After sending URI/File/Contact/ChatRequest switch back to text message 
     1202      if (myType != MessageEvent) 
     1203        changeEventType(MessageEvent); 
     1204    } 
     1205    else 
     1206      close(); 
    12051207  } 
    12061208}