** Changed in: openlp
       Status: Confirmed => Fix Committed

** Changed in: openlp
     Assignee: (unassigned) => Raoul Snyman (raoul-snyman)

-- 
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:
  Fix Committed

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

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to