Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2582
Modified Files:
Menus.cpp
Log Message:
rest of the fix to logic for Stop vs Cancel
Index: Menus.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Menus.cpp,v
retrieving revision 1.434
retrieving revision 1.435
diff -u -d -r1.434 -r1.435
--- Menus.cpp 2 Feb 2009 14:52:23 -0000 1.434
+++ Menus.cpp 5 Feb 2009 22:14:09 -0000 1.435
@@ -4679,9 +4679,10 @@
{
TimerRecordDialog dialog(this /* parent */ );
int modalResult = dialog.ShowModal();
- if (modalResult == wxID_CANCEL)
+ if (modalResult == eProgressCancelled)
{
- OnUndo();
+ // Cancelled while the recording, so throw out the fresh track.
+ OnUndo();
}
}
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs