Cadence icon indicating copy to clipboard operation
Cadence copied to clipboard

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

Open themanyone opened this issue 4 years ago • 0 comments

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

themanyone avatar Aug 12 '21 23:08 themanyone