mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 09:11:06 -04:00
Set the focus the subject input when creating a new forum/channel or channel message.
Set the forum/channel message to read when expanding the message feed. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4891 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
549fdf9daa
commit
3b1c26de35
7 changed files with 107 additions and 80 deletions
|
@ -742,6 +742,8 @@ void ForumsDialog::fillThreadFinished()
|
|||
#ifdef DEBUG_FORUMS
|
||||
std::cerr << "ForumsDialog::fillThreadFinished Add messages" << std::endl;
|
||||
#endif
|
||||
ui.threadTreeWidget->setSortingEnabled(false);
|
||||
|
||||
/* add all messages in! */
|
||||
if (lastViewType != thread->viewType || lastForumID != mCurrForumId) {
|
||||
ui.threadTreeWidget->clear();
|
||||
|
@ -758,6 +760,8 @@ void ForumsDialog::fillThreadFinished()
|
|||
CleanupItems (thread->items);
|
||||
}
|
||||
|
||||
ui.threadTreeWidget->setSortingEnabled(true);
|
||||
|
||||
if (thread->focusMsgId.empty() == false) {
|
||||
/* Search exisiting item */
|
||||
QTreeWidgetItemIterator itemIterator(ui.threadTreeWidget);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue