From f233474846b0faf0b50182bdb7c35de960f6410c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 9 Nov 2011 15:04:47 -0500 Subject: [PATCH] Add GUI postprocessing for 'name playlist' so the new playlist shows up immediately. --- hooke/ui/gui/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hooke/ui/gui/__init__.py b/hooke/ui/gui/__init__.py index 37eb6db..f5a0958 100644 --- a/hooke/ui/gui/__init__.py +++ b/hooke/ui/gui/__init__.py @@ -467,6 +467,11 @@ class HookeFrame (wx.Frame): assert loaded == True, loaded self._c['playlist'].update_playlist(playlist) + def _postprocess_name_playlist(self, command, args={}, results=None): + """Update `self` to show the new playlist. + """ + return self._postprocess_new_playlist(command, args, results) + def _postprocess_get_curve(self, command, args={}, results=[]): """Update `self` to show the curve. """ -- 2.26.2