Update of /cvsroot/audacity/audacity-src/src/commands
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv19257/src/commands

Modified Files:
        CommandHandler.cpp 
Log Message:
Scripting: redraw the project window after executing a command. This should
mean changes like renaming a track are visible immediately.

NB. Doesn't solve the 'menu commands need focus' problem.



Index: CommandHandler.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/commands/CommandHandler.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- CommandHandler.cpp  4 Aug 2009 04:19:22 -0000       1.4
+++ CommandHandler.cpp  26 Oct 2009 15:04:12 -0000      1.5
@@ -49,6 +49,9 @@
 
    // Done with the command so delete it.
    delete cmd;
+
+   // Redraw the project
+   mCurrentContext->proj->RedrawProject();
 }
 
 // Indentation settings for Vim and Emacs and unique identifier for Arch, a


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to