http://sourceforge.net/tracker/index.php?func=detail&aid=608496&group_id=254&atid=100254

couldn't resist.  that  QueryUser popped up several times this night.

i think that is the right fix because im setting setEdited to 
UserEventCommon::MLEditWrap and UserSendCommon::setText is not being called  
calls setEdited(false))

i also added an explanation of why the button Send if the URL field is empty.

-- 
Buenos Aires, Argentina






Index: plugins/qt-gui/src/usereventdlg.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/usereventdlg.cpp,v
retrieving revision 1.99
diff -u -d -p -r1.99 usereventdlg.cpp
--- plugins/qt-gui/src/usereventdlg.cpp	5 Feb 2003 21:26:53 -0000	1.99
+++ plugins/qt-gui/src/usereventdlg.cpp	7 Feb 2003 05:06:23 -0000
@@ -1132,7 +1132,10 @@ void UserSendCommon::changeEventType(int
   {
     QPoint p = topLevelWidget()->pos();
     if (e->mleSend && mleSend)
+    {  
       e->mleSend->setText(mleSend->text());
+      e->mleSend->setEdited(e->mleSend->length());
+    }
     if (e->mleHistory && mleHistory){
       e->mleHistory->setText(mleHistory->text());
       e->mleHistory->GotoEnd();
@@ -1671,7 +1674,10 @@ void UserSendUrlEvent::resetSettings()
 void UserSendUrlEvent::sendButton()
 {
   if (edtItem->text().stripWhiteSpace().isEmpty())
+  {
+    InformUser(this,tr("The URL field is empty"));
     return;
+  }
 
   if (!UserSendCommon::checkSecure()) return;
 

Attachment: msg02021/pgp00000.pgp
Description: signature

Reply via email to