mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
fix tab-specific menus not present when tab is opened on startup (#5478)
This commit is contained in:
parent
2d02955f8b
commit
7e19b52926
3 changed files with 2 additions and 4 deletions
|
|
@ -860,6 +860,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
connect(tabSupervisor, &TabSupervisor::setMenu, this, &MainWindow::updateTabMenu);
|
||||
connect(tabSupervisor, &TabSupervisor::localGameEnded, this, &MainWindow::localGameEnded);
|
||||
connect(tabSupervisor, &TabSupervisor::showWindowIfHidden, this, &MainWindow::showWindowIfHidden);
|
||||
tabSupervisor->initStartupTabs();
|
||||
|
||||
setCentralWidget(tabSupervisor);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue