fix "stuck marker focus" after deleting marker.
authorRobin Gareus <robin@gareus.org>
Tue, 8 Dec 2015 22:39:36 +0000 (23:39 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 8 Dec 2015 22:39:47 +0000 (23:39 +0100)
gtk2_ardour/editor_ops.cc

index 341a6ed9b33e8d96a159ccd36c070c5d50833a7d..cb67f1fc20b696ec085ed0d82eeb9d695dadc40b 100644 (file)
@@ -4040,6 +4040,7 @@ Editor::cut_copy (CutCopyOp op)
                Location* loc = find_location_from_marker (entered_marker, ignored);
 
                if (_session && loc) {
+                       entered_marker = NULL;
                        Glib::signal_idle().connect (sigc::bind (sigc::mem_fun(*this, &Editor::really_remove_marker), loc));
                }