Fix playhead position after trim-up-to (#1847).
authorCarl Hetherington <cth@carlh.net>
Sun, 27 Sep 2020 21:31:06 +0000 (23:31 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 27 Sep 2020 21:31:06 +0000 (23:31 +0200)
src/wx/timing_panel.cc

index 97f3bec..c4234af 100644 (file)
@@ -563,11 +563,11 @@ TimingPanel::trim_start_to_playhead_clicked ()
                }
        }
 
+       fv->set_coalesce_player_changes (false);
+
        if (new_ph) {
                fv->seek (new_ph.get(), true);
        }
-
-       fv->set_coalesce_player_changes (false);
 }
 
 void