mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 00:23:55 -07:00
don't close dm tabs when disconnecting (#6285)
This commit is contained in:
parent
dbd1d30ca8
commit
6d75ce4b1c
1 changed files with 0 additions and 4 deletions
|
|
@ -491,10 +491,6 @@ void TabSupervisor::stop()
|
||||||
tabsToDelete << i.value();
|
tabsToDelete << i.value();
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto i = messageTabs.cbegin(), end = messageTabs.cend(); i != end; ++i) {
|
|
||||||
tabsToDelete << i.value();
|
|
||||||
}
|
|
||||||
|
|
||||||
for (const auto tab : tabsToDelete) {
|
for (const auto tab : tabsToDelete) {
|
||||||
tab->close();
|
tab->close();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue