Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
b858e361
Unverified
Commit
b858e361
authored
Jun 01, 2021
by
marsnicholas
Committed by
GitHub
Jun 01, 2021
Browse files
Closes all library views when shuffled (#4261) (#4324)
parent
ebe2c494
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/player.cpp
View file @
b858e361
...
...
@@ -1846,7 +1846,7 @@ void Player::eventShuffle(const Event_Shuffle &event)
}
for
(
auto
*
view
:
zone
->
getViews
())
{
if
(
view
!=
nullptr
)
{
view
->
setWriteableRevealZone
(
false
);
emit
view
->
beingDeleted
(
);
}
}
emit
logShuffle
(
this
,
zone
,
event
.
start
(),
event
.
end
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment