Make jump-to-content-start on selection in the content list optional.
[dcpomatic.git] / src / wx / content_panel.cc
index 1aeba63728181478cbe755e28e67413d5795ef53..1d748be5ff2d820becaaf50189f0470199fcd1a1 100644 (file)
@@ -36,6 +36,7 @@
 #include "lib/dcp_content.h"
 #include "lib/case_insensitive_sorter.h"
 #include "lib/playlist.h"
+#include "lib/config.h"
 #include <wx/wx.h>
 #include <wx/notebook.h>
 #include <wx/listctrl.h>
@@ -254,7 +255,7 @@ ContentPanel::selection_changed ()
                }
        }
 
-       if (go_to) {
+       if (go_to && Config::instance()->jump_to_selected ()) {
                _film_viewer->set_position (go_to.get ());
        }