Reset repeated paste state on cut/copy.
authorDavid Robillard <d@drobilla.net>
Sun, 16 Nov 2014 07:51:18 +0000 (02:51 -0500)
committerDavid Robillard <d@drobilla.net>
Mon, 17 Nov 2014 03:35:45 +0000 (22:35 -0500)
gtk2_ardour/editor_ops.cc

index 3d5ae6cb14877324531d3b93e04942242f1f7241..9c3b40798aed039564688b55ca8d9b0baf58172c 100644 (file)
@@ -3900,6 +3900,9 @@ Editor::cut_copy (CutCopyOp op)
        }
        
        if (did_edit) {
+               /* reset repeated paste state */
+               paste_count    = 0;
+               last_paste_pos = 0;
                commit_reversible_command ();   
        }