handle connect/disconnect in deck storage tab

This commit is contained in:
RickyRister 2025-01-24 02:36:42 -08:00
parent ac2bbfea30
commit a9031ef6ab
3 changed files with 46 additions and 4 deletions

View file

@ -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] {