[Summary] Leaving to early from MarkerDrag finishing procedure IS A BUG (at least we dropped commiting the reversible editor command).

This commit is contained in:
Valeriy Kamyshniy 2015-02-16 02:41:46 +02:00
parent 7193ce20a5
commit 5e28feda1a

View file

@ -3710,11 +3710,7 @@ MarkerDrag::finished (GdkEvent* event, bool movement_occurred)
if (location) {
if (location->locked()) {
return;
}
if (location->is_mark()) {
if (location->locked() && location->is_mark()) {
location->set_start (((*x).location)->start());
} else {
location->set (((*x).location)->start(), ((*x).location)->end());