openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #28409
[Bug 1532169] Re: Expanding or Collapsing a Song in ServiceManager raises an Exception
The problem seems to be that we try to expand the child items as well, which causes the traceback since we set an 'expanded' attribute on the serviceitemlist, but that list only contains the root items.
I'm guessing this shows up now because the signaling has changed from qt4 to qt5.
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1532169
Title:
Expanding or Collapsing a Song in ServiceManager raises an Exception
Status in OpenLP:
In Progress
Bug description:
When expanding or Collapsing a Song in ServiceManager a IndexError occurs.
This only happens when using the buttons in the Service Manager.
I guess the error occurs because of the -1 when accessing the items.
However the -1 is being used 5 times all over the class.
I'm not sure about the reason behind the -1 in the first place
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1532169/+subscriptions
References