From d16d5d4ef5c6647ab592daeea84c99a45d1f7e4c Mon Sep 17 00:00:00 2001 From: rwoodruff91 Date: Sat, 10 May 2008 12:19:40 +0000 Subject: [PATCH] lineEdit becomes focused when message/status is sent git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@543 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/BlogDialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/retroshare-gui/src/gui/BlogDialog.cpp b/retroshare-gui/src/gui/BlogDialog.cpp index 404f5d53c..6ba8d454c 100644 --- a/retroshare-gui/src/gui/BlogDialog.cpp +++ b/retroshare-gui/src/gui/BlogDialog.cpp @@ -52,6 +52,8 @@ void BlogDialog::sendBlog() /* Clear lineEdit */ lineEdit->clear(); + /* setFocus on lineEdit */ + lineEdit->setFocus(); } void BlogDialog::setFont() @@ -76,6 +78,9 @@ void BlogDialog::setStatus() /* Clear lineEdit */ lineEdit->clear(); + /* set focus on lineEdit */ + lineEdit->setFocus(); + }