~thestr4ng3r/mymcplus

f0dac800fe9b915e23bc4b7e94629a4465e7c183 — Florian Märkl 4 months ago 9a0648c
Fix Delete command (evt_cmd_delete) in GUI (Fix #3)

Patch submitted by Louie Torres
1 files changed, 2 insertions(+), 2 deletions(-)

M mymcplus/gui/gui.py
M mymcplus/gui/gui.py => mymcplus/gui/gui.py +2 -2
@@ 473,10 473,10 @@ class GuiFrame(wx.Frame):
        selected = self.dirlist.selected
        dirtable = self.dirlist.dirtable

        dirnames = [dirtable[i][0][8].decode("ascii")
        dirnames = [dirtable[i].dirent[8].decode("ascii")
                for i in selected]
        if len(selected) == 1:
            title = dirtable[list(selected)[0]][3]
            title = dirtable[list(selected)[0]].title
            s = dirnames[0] + " (" + utils.single_title(title) + ")"
        else:
            s = ", ".join(dirnames)