mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 01:46:11 -05:00
Added setFocus feature, when creating new Thread or Reply Message change the Focus
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1954 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5ae41c8de9
commit
cf8330f350
@ -66,6 +66,15 @@ void CreateForumMsg::newMsg()
|
|||||||
ui.forumName->setText(name);
|
ui.forumName->setText(name);
|
||||||
ui.forumSubject->setText(subj);
|
ui.forumSubject->setText(subj);
|
||||||
|
|
||||||
|
if (!ui.forumSubject->text().isEmpty())
|
||||||
|
{
|
||||||
|
ui.forumMessage->setFocus();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ui.forumSubject->setFocus();
|
||||||
|
}
|
||||||
|
|
||||||
if (fi.forumFlags & RS_DISTRIB_AUTHEN_REQ)
|
if (fi.forumFlags & RS_DISTRIB_AUTHEN_REQ)
|
||||||
{
|
{
|
||||||
ui.signBox->setChecked(true);
|
ui.signBox->setChecked(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user