mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
Fixed crash when closing a chat window.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4849 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5a5c0264d0
commit
a3a0690cb4
6 changed files with 11 additions and 8 deletions
|
@ -71,6 +71,8 @@ void ChatTabWidget::tabClose(int tab)
|
|||
|
||||
if (dialog) {
|
||||
if (dialog->canClose()) {
|
||||
removeDialog(dialog);
|
||||
emit tabClosed(dialog);
|
||||
dialog->deleteLater();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue