openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #24483
[Bug 1385979] Re: Settings form -- list_item variable issue
** Branch linked: lp:~raoul-snyman/openlp/bug-1385979
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1385979
Title:
Settings form -- list_item variable issue
Status in OpenLP - Worship Presentation Software:
Confirmed
Bug description:
Traceback (most recent call last):
File "~/Projects/openlp/openlp/core/ui/settingsform.py", line 151, in list_item_changed
if tab_widget.tab_title == list_item.data(QtCore.Qt.UserRole):
AttributeError: 'NoneType' object has no attribute 'data'
This is an easy fix.
In file settingsform.py find: def list_item_changed(self, item_index)
Then Replace:
# Get the item we clicked on
list_item = self.setting_list_widget.item(item_index)
With:
# Get the item we clicked on
list_item = self.setting_list_widget.item(item_index)
# Check if item exists
if not list_item:
return
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1385979/+subscriptions
References