From: W. Trevor King Date: Wed, 9 Nov 2011 20:04:47 +0000 (-0500) Subject: Add GUI postprocessing for 'name playlist' so the new playlist shows up immediately. X-Git-Url: http://git.tremily.us/?p=hooke.git;a=commitdiff_plain;h=f233474846b0faf0b50182bdb7c35de960f6410c Add GUI postprocessing for 'name playlist' so the new playlist shows up immediately. --- 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. """