https://bugs.kde.org/show_bug.cgi?id=461683

Wolfgang Rohdewald <wolfg...@rohdewald.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wolfg...@rohdewald.de
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Wolfgang Rohdewald <wolfg...@rohdewald.de> ---
There is a fix in the pipeline for the next version (only on my PC so far). You
can apply it manually:

commit 6885135f90c2f65950de7f0d2cb2f39563e086c1
Author: Wolfgang Rohdewald <wolfg...@rohdewald.de>
Date:   Wed Jun 22 19:40:31 2022 +0200

    turning a tile to make it invisible is also legal

    used when shuffling for the next hand.

    Since when did this not work?

diff --git a/src/uitile.py b/src/uitile.py
index e4122648..aa85d724 100644
--- a/src/uitile.py
+++ b/src/uitile.py
@@ -304,7 +304,7 @@ class UITile(AnimatedMixin, QGraphicsObject, StrMixin):
     def tile(self, value):  # pylint: disable=arguments-differ
         """set tile name and update display"""
         if value is not self._tile:
-            assert not self._tile.isKnown or (self._tile.exposed ==
value.exposed)
+            assert not self._tile.isKnown or not value.isKnown or
(self._tile.exposed == value.exposed)
             self._tile = value
             self.setDrawingOrder() # because known tiles are above unknown
tiles
             self.update()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to