Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Claudia error: iItem.isVisible() is not a property or method when populating studio #328

Open
themanyone opened this issue Aug 12, 2021 · 0 comments

Comments

@themanyone
Copy link

I got rid of the error by using iItem.isDisabled() instead, as suggested by the error message.
Not sure if there are any adverse consequences.

Affected version: Fedora package Cadence-1.0.0-0.17.20210316gitc146ff9.fc35.x86_64
Sorry if this has already been fixed in git.Internet is too slow to research this.
Merely sharing what I did.

--- claudia.py~	2021-08-11 22:22:24.422331606 -0800
+++ claudia.py	2021-08-11 21:56:24.569638743 -0800
@@ -1202,7 +1202,7 @@
 
         # Remove old unused item if needed
         iItem = self.ui.treeWidget.topLevelItem(room_index)
-        if iItem and not iItem.isVisible():
+        if iItem and iItem.isDisabled():
             self.ui.treeWidget.takeTopLevelItem(room_index)
 
         # Insert padding of items if needed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant