From 8016183946a303f3b00d6c0454d375b9e0360d5f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 25 Jan 2018 14:15:17 +0100 Subject: tracker/pt: fix camera settings on tracker stop --- tracker-pt/ftnoir_tracker_pt_dialog.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp index a8b545ca..54a4f69b 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp +++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp @@ -10,6 +10,7 @@ #include "compat/math.hpp" #include "compat/camera-names.hpp" +#include "cv/video-property-page.hpp" #include #include @@ -223,6 +224,11 @@ void TrackerDialog_PT::show_camera_settings() QMutexLocker l(&tracker->camera_mtx); tracker->camera->show_camera_settings(); } + else + { + const int idx = camera_name_to_index(s.camera_name); + video_property_page::show(idx); + } } void TrackerDialog_PT::trans_calib_step() -- cgit v1.2.3