diff options
Diffstat (limited to 'gui/ui.cpp')
-rw-r--r-- | gui/ui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -310,6 +310,8 @@ void MainWindow::startTracker() return; } + save(); + work = std::make_shared<Work>(s, pose, libs, winId()); reload_options(); @@ -330,8 +332,6 @@ void MainWindow::startTracker() const bool is_inertial = ui.video_frame->layout() == nullptr; updateButtonState(true, is_inertial); - save(); - ui.btnStopTracker->setFocus(); } |