mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 00:12:15 -07:00
Switch to replay tab if already open.
Took 11 minutes
This commit is contained in:
parent
9ca5ee52e7
commit
67c005535e
1 changed files with 2 additions and 0 deletions
|
|
@ -601,6 +601,8 @@ void TabSupervisor::actTabReplays(bool checked)
|
|||
setCurrentWidget(tabReplays);
|
||||
} else if (!checked && tabReplays) {
|
||||
tabReplays->closeRequest();
|
||||
} else if (checked && tabReplays) {
|
||||
setCurrentWidget(tabReplays);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue