mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-25 08:03:58 -05: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
|
|
@ -601,6 +601,8 @@ void TabSupervisor::actTabReplays(bool checked)
|
|||
setCurrentWidget(tabReplays);
|
||||
} else if (!checked && tabReplays) {
|
||||
tabReplays->closeRequest();
|
||||
} else if (checked && tabReplays) {
|
||||
setCurrentWidget(tabReplays);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user