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 37eb6db2af41a6c59f965e5637020ad923905d85..f5a09580aed5eb1204da72d65303a5a142b0a5b9 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.
         """