mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Switch to replay tab if already open. (#6130)
Took 11 minutes Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
eecfe9d387
commit
2490e97ea0
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