← Back to team overview

openlp-core team mailing list archive

[Bug 1113740] [NEW] Resetting keyboard shortcuts crashes

 

Public bug reported:

In 2.0.1

Settings -> Configure Shortcuts
Click Restore Defaults
Yes to the warning.
Click OK. 
Get the following traceback...


Traceback (most recent call last):
  File "C:\Users\Jonathan\Documents\projects\openlp\2.0\openlp\core\ui\mainwindow.py", line 941, in onSettingsShortcutsItemClicked
    self.shortcutForm.save()
  File "C:\Users\Jonathan\Documents\projects\openlp\2.0\openlp\core\ui\shortcutlistform.py", line 354, in save
    self.action_list.update_shortcut_map(action, old_shortcuts)
  File "C:\Users\Jonathan\Documents\projects\openlp\2.0\openlp\core\utils\actions.py", line 338, in update_shortcut_map
    ActionList.shortcut_map[old_shortcut].remove(action)
ValueError: list.remove(x): x not in list

** Affects: openlp
     Importance: High
         Status: New

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1113740

Title:
  Resetting keyboard shortcuts crashes

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  In 2.0.1

  Settings -> Configure Shortcuts
  Click Restore Defaults
  Yes to the warning.
  Click OK. 
  Get the following traceback...

  
  Traceback (most recent call last):
    File "C:\Users\Jonathan\Documents\projects\openlp\2.0\openlp\core\ui\mainwindow.py", line 941, in onSettingsShortcutsItemClicked
      self.shortcutForm.save()
    File "C:\Users\Jonathan\Documents\projects\openlp\2.0\openlp\core\ui\shortcutlistform.py", line 354, in save
      self.action_list.update_shortcut_map(action, old_shortcuts)
    File "C:\Users\Jonathan\Documents\projects\openlp\2.0\openlp\core\utils\actions.py", line 338, in update_shortcut_map
      ActionList.shortcut_map[old_shortcut].remove(action)
  ValueError: list.remove(x): x not in list

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1113740/+subscriptions


Follow ups

References