summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-01 17:10:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-01 17:10:06 +0200
commitfc03209f0819e2d247f0b24ed02842fc5505ef73 (patch)
treec1ee719eaf89babd9e90f5bd13863d43fa841a51 /ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp
parent95624a290d9894966e3dab9ffc7064bbb2b51f18 (diff)
pt, aruco, ht: select camera by name, not index
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp')
-rw-r--r--ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp
index 3486f234..6fa149ed 100644
--- a/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp
+++ b/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp
@@ -39,7 +39,7 @@ TrackerDialog::TrackerDialog()
}
#endif
- tie_setting(s.cam_index, ui.camdevice_combo);
+ tie_setting(s.camera_name, ui.camdevice_combo);
tie_setting(s.cam_res_x, ui.res_x_spin);
tie_setting(s.cam_res_y, ui.res_y_spin);
tie_setting(s.cam_fps, ui.fps_spin);