mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -07:00
handle connect/disconnect in deck storage tab
This commit is contained in:
parent
ac2bbfea30
commit
a9031ef6ab
3 changed files with 46 additions and 4 deletions
|
|
@ -504,7 +504,7 @@ void TabSupervisor::actTabDeckStorage(bool checked)
|
|||
{
|
||||
SettingsCache::instance().setTabDeckStorageOpen(checked);
|
||||
if (checked && !tabDeckStorage) {
|
||||
tabDeckStorage = new TabDeckStorage(this, client);
|
||||
tabDeckStorage = new TabDeckStorage(this, client, userInfo);
|
||||
connect(tabDeckStorage, &TabDeckStorage::openDeckEditor, this, &TabSupervisor::addDeckEditorTab);
|
||||
myAddTab(tabDeckStorage, aTabDeckStorage);
|
||||
connect(tabDeckStorage, &Tab::closed, this, [this] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue