diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-25 14:15:17 +0100 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-25 14:15:17 +0100 | 
| commit | 8016183946a303f3b00d6c0454d375b9e0360d5f (patch) | |
| tree | 2904fa23e1552abc1b19296dd5247e37ee1c4a95 /tracker-pt | |
| parent | 5da4c7bbb660e044800193c341ee3337acc6ef66 (diff) | |
tracker/pt: fix camera settings on tracker stop
Diffstat (limited to 'tracker-pt')
| -rw-r--r-- | tracker-pt/ftnoir_tracker_pt_dialog.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
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 <opencv2/core.hpp>  #include <QString> @@ -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()  | 
