diff options
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r-- | ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 4 |
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(); |