Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv3423/src
Modified Files:
SmartRecordDialog.cpp
Log Message:
Fix bug introduced by efficiency tweak yesterday.
Index: SmartRecordDialog.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/SmartRecordDialog.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- SmartRecordDialog.cpp 30 May 2007 22:45:22 -0000 1.11
+++ SmartRecordDialog.cpp 31 May 2007 22:20:25 -0000 1.12
@@ -121,6 +121,11 @@
// had a future day, set hour of day less than now's, then changed day to
today.
wxTimerEvent dummyTimerEvent;
this->OnTimer(dummyTimerEvent);
+
+ // Always update End for changed Start, keeping Duration constant.
+ // Note that OnTimer sometimes calls UpdateEnd, so sometimes this is
redundant,
+ // but OnTimer doesn't need to always call UpdateEnd, but we must here.
+ this->UpdateEnd();
}
void SmartRecordDialog::OnTimeText_Start(wxCommandEvent& event)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs