fix logic of previous commit for transport-stop during locate
[ardour.git] / libs / ardour / session_transport.cc
index ce9f4fe35bb2e493f08d90e5408f4ea40fcf79f7..97e6eb7d5b5f648ee9acc47471ecaf14825746da 100644 (file)
@@ -1037,7 +1037,7 @@ Session::locate (framepos_t target_frame, bool with_roll, bool with_flush, bool
        bool transport_was_stopped = !transport_rolling();
 
        if (transport_was_stopped && (!auto_play_legal || !config.get_auto_play()) && !with_roll && !(synced_to_engine() && play_loop) &&
-           (Profile->get_trx() && !(config.get_external_sync() && !synced_to_engine()))) {
+           (!Profile->get_trx() || !(config.get_external_sync() && !synced_to_engine()))) {
                realtime_stop (false, true); // XXX paul - check if the 2nd arg is really correct
                transport_was_stopped = true;
        } else {