mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
Merge pull request #1988 from PhenomRetroShare/Fix_MessageDeleteLast
Fix Message Delete Last to clear widget.
This commit is contained in:
commit
54364c488e
@ -1105,7 +1105,10 @@ void MessagesDialog::removemessage()
|
||||
|
||||
void MessagesDialog::messageRemoved()
|
||||
{
|
||||
ui.messageTreeWidget->setCurrentIndex(lastSelectedIndex);
|
||||
if (lastSelectedIndex.isValid())
|
||||
ui.messageTreeWidget->setCurrentIndex(lastSelectedIndex);
|
||||
else
|
||||
insertMsgTxtAndFiles(QModelIndex());
|
||||
}
|
||||
|
||||
void MessagesDialog::undeletemessage()
|
||||
|
Loading…
Reference in New Issue
Block a user