Finally fix deleteting of items from PMS not working

- Fixes #587
This commit is contained in:
croneter 2019-01-01 13:00:30 +01:00
parent 0f95889b75
commit 56331bead5

View file

@ -60,7 +60,7 @@ class ContextMenu(xbmcgui.WindowXMLDialog):
if action in (ACTION_SELECT_ITEM, ACTION_MOUSE_LEFT_CLICK): if action in (ACTION_SELECT_ITEM, ACTION_MOUSE_LEFT_CLICK):
if self.getFocusId() == LIST: if self.getFocusId() == LIST:
option = self.list_.getSelectedItem() option = self.list_.getSelectedItem()
self.selected_option = option.getLabel() self.selected_option = option.getLabel().decode('utf-8')
LOG.info('option selected: %s', self.selected_option) LOG.info('option selected: %s', self.selected_option)
self.close() self.close()