mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-02 03:16:18 -05:00
fixed to clear msgText when not selected
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2047 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
363420899a
commit
545f37e615
@ -585,7 +585,6 @@ void MessagesDialog::insertMessages()
|
|||||||
|
|
||||||
// Subject
|
// Subject
|
||||||
item -> setText(2, QString::fromStdWString(it->title));
|
item -> setText(2, QString::fromStdWString(it->title));
|
||||||
item -> setIcon(2, (QIcon(":/images/message-mail-read.png")));
|
|
||||||
|
|
||||||
// No of Files.
|
// No of Files.
|
||||||
{
|
{
|
||||||
@ -611,9 +610,12 @@ void MessagesDialog::insertMessages()
|
|||||||
item->setFont(i, qf);
|
item->setFont(i, qf);
|
||||||
item -> setIcon(2, (QIcon(":/images/message-mail.png")));
|
item -> setIcon(2, (QIcon(":/images/message-mail.png")));
|
||||||
|
|
||||||
//std::cerr << "Setting Item BOLD!" << std::endl;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
item -> setIcon(2, (QIcon(":/images/message-mail-read.png")));
|
||||||
|
}
|
||||||
|
|
||||||
/* add to the list */
|
/* add to the list */
|
||||||
items.append(item);
|
items.append(item);
|
||||||
@ -674,6 +676,7 @@ void MessagesDialog::insertMsgTxtAndFiles()
|
|||||||
|
|
||||||
ui.subjectText->setText("");
|
ui.subjectText->setText("");
|
||||||
ui.msgList->clear();
|
ui.msgList->clear();
|
||||||
|
ui.msgText->clear();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user