Show
Ignore:
Timestamp:
02/16/07 05:47:30 (22 months ago)
Author:
flynd
Message:

Added option to use double Return instead of Ctrl+Return as requested in #1492.

Files:
1 modified

Legend:

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

    r4849 r4857  
    250250  chkMsgWinSticky->setChecked(mainwin->m_bMsgWinSticky); 
    251251  chkSingleLineChatMode->setChecked(mainwin->m_bSingleLineChatMode); 
     252  chkUseDoubleReturn->setChecked(MLEditWrap::useDoubleReturn); 
    252253  popPicture->setChecked(mainwin->m_bPopPicture); 
    253254  popAlias->setChecked(mainwin->m_bPopAlias); 
     
    546547  mainwin->m_bMsgWinSticky = chkMsgWinSticky->isChecked(); 
    547548  mainwin->m_bSingleLineChatMode = chkSingleLineChatMode->isChecked(); 
     549  MLEditWrap::useDoubleReturn = chkUseDoubleReturn->isChecked(); 
    548550 
    549551  mainwin->m_bPopPicture = popPicture->isChecked(); 
     
    832834    "and insert new lines with Ctrl+Enter, opposite of the normal mode")); 
    833835 
     836  chkUseDoubleReturn = new QCheckBox(tr("Use double return"), boxMainWin); 
     837  QWhatsThis::add(chkUseDoubleReturn, tr("Hitting Return twice will be used instead of Ctrl+Return " 
     838    "to send messages and close input dialogs. Multiple new lines can be inserted with Ctrl+Return.")); 
     839 
    834840  chkMsgChatView = new QCheckBox(tr("Chatmode Messageview"), boxMainWin); 
    835841  QWhatsThis::add(chkMsgChatView, tr("Show the current chat history in Send Window"));