From 659fd2f16378d3d91de47c85fa16e984ff25a720 Mon Sep 17 00:00:00 2001 From: RickyRister Date: Thu, 27 Feb 2025 00:00:46 -0800 Subject: [PATCH] add comment --- cockatrice/src/client/tabs/tab_supervisor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cockatrice/src/client/tabs/tab_supervisor.cpp b/cockatrice/src/client/tabs/tab_supervisor.cpp index cd8a0d2f2..46ab69790 100644 --- a/cockatrice/src/client/tabs/tab_supervisor.cpp +++ b/cockatrice/src/client/tabs/tab_supervisor.cpp @@ -701,6 +701,10 @@ void TabSupervisor::talkLeft(TabMessage *tab) removeTab(indexOf(tab)); } +/** + * Creates a new deck editor tab + * @param deckToOpen The deck to open in the tab. Creates a copy of the DeckLoader instance. + */ TabDeckEditor *TabSupervisor::addDeckEditorTab(const DeckLoader *deckToOpen) { auto *tab = new TabDeckEditor(this);