summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-11-18 19:17:16 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-11-18 19:17:16 +0000
commit85dedba0450c986171ac85a562995ca4213fc84f (patch)
treeab8b316b63550f5ee4793423584a13311214be5a /libs/ardour
parent9b373cd25748ebc2f066357ccd75ccd3bfad1d3d (diff)
don't show nag screen if export was stopped or if SAE (for now)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4212 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/session_export.cc13
1 files changed, 12 insertions, 1 deletions
diff --git a/libs/ardour/session_export.cc b/libs/ardour/session_export.cc
index 76ae44f1ba..53e63fd338 100644
--- a/libs/ardour/session_export.cc
+++ b/libs/ardour/session_export.cc
@@ -453,10 +453,21 @@ Session::stop_audio_export (AudioExportSpecification& spec)
{
/* don't stop freewheeling but do stop paying attention to it for now */
+
+ /* save the value of stop so that the UI
+ can see if it requested a stop.
+ */
+
+ bool old_stop = spec.stop;
+
spec.freewheel_connection.disconnect ();
spec.clear (); /* resets running/stop etc */
- Exported (spec.path, name());
+ spec.stop = old_stop;
+
+ if (!spec.stop) {
+ Exported (spec.path, name());
+ }
return 0;
}