** Changed in: phatch
Status: Confirmed => In Progress
** Changed in: phatch
Assignee: (unassigned) => stani (stani)
--
Index error in the actions dialog
https://bugs.launchpad.net/bugs/529429
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.
Status in Phatch = Photo & Batch!: In Progress
Bug description:
If you type in the dialog search box a name that doesn't exist and then press
enter you'll get this error:
Traceback (most recent call last):
File "/home/nadia/projects/phatch/phatch/pyWx/gui.py", line 654, in
on_menu_edit_add
label = self.dialog_actions.GetStringSelection()
File "/home/nadia/projects/phatch/phatch/pyWx/dialogs.py", line 486, in
GetStringSelection
return self.GetListBox().GetStringSelection()
File "/home/nadia/projects/phatch/phatch/pyWx/dialogs.py", line 446, in
GetStringSelection
return self.actions[self.GetSelection()].label
IndexError: list index out of range
Instead the enter should not work, just like the how the Add button is disabled
when there are no matches.
_______________________________________________
Mailing list: https://launchpad.net/~phatch-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~phatch-dev
More help : https://help.launchpad.net/ListHelp