Add GUI postprocessing for 'name playlist' so the new playlist shows up immediately.
authorW. Trevor King <wking@drexel.edu>
Wed, 9 Nov 2011 20:04:47 +0000 (15:04 -0500)
committerW. Trevor King <wking@drexel.edu>
Wed, 9 Nov 2011 20:04:47 +0000 (15:04 -0500)
hooke/ui/gui/__init__.py

index 37eb6db..f5a0958 100644 (file)
@@ -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.
         """