summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-04 19:40:56 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-04 19:40:56 +0100
commitca76154afd3157bfb1d1f65082cb43a12c234547 (patch)
tree5204710ecae65e2c8404c7cf398e8c23c713cd6b /ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
parent8a6e59ec2be2a72fd4b009851d3241d663d8289f (diff)
allow for changing centroid while software's running
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
index 19413e2f..50496ed7 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -465,6 +465,8 @@ TrackerControls::TrackerControls()
void TrackerControls::doOK()
{
s.b->save();
+ if (tracker)
+ tracker->reload();
this->close();
}
@@ -480,6 +482,8 @@ void TrackerControls::doCancel()
case QMessageBox::Save:
s.b->save();
this->close();
+ if (tracker)
+ tracker->reload();
break;
case QMessageBox::Discard:
s.b->revert();