number of function parameter is counted correctly when setting new values

This commit is contained in:
Dominik Demuth
2023-01-15 19:09:28 +01:00
parent 5b0c5bb4bb
commit e997712f0a
5 changed files with 50 additions and 15 deletions

View File

@ -380,6 +380,8 @@ class RegionItem(LinearRegionItem):
self.logmode = False
self.first = True
if not hasattr(self, '_bounds') and hasattr(self, '_boundingRectCache'):
self._bounds = self._boundingRectCache
def setLogMode(self, xmode, _):
if self.logmode == xmode: