From: dooglus Date: Wed, 3 Oct 2007 19:35:48 +0000 (+0000) Subject: If 'view->play' is interrupted with the 'stop' button, note that the playback has... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=9872e3229a1877e8cdcdb2feb177e49e12e8ddf4;p=synfig.git If 'view->play' is interrupted with the 'stop' button, note that the playback has stopped. git-svn-id: http://svn.voria.com/code@830 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp b/synfig-studio/trunk/src/gtkmm/canvasview.cpp index 718a90b..9e597d4 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp +++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp @@ -2837,7 +2837,10 @@ CanvasView::play() studio::App::iteration(false); if(get_cancel_status()) + { + is_playing_=false; return; + } } is_playing_=false;