mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-13 14:02:15 -07:00
don't close dm tabs when disconnecting
This commit is contained in:
parent
adff828415
commit
b5e8199e26
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