diff options
Diffstat (limited to 'gui/main-window.cpp')
-rw-r--r-- | gui/main-window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp index aa8e16f3..11479a1a 100644 --- a/gui/main-window.cpp +++ b/gui/main-window.cpp @@ -523,8 +523,8 @@ void MainWindow::display_pose(const double *mapped, const double *raw) ui.pose_display->rotate_async(mapped[Yaw], mapped[Pitch], -mapped[Roll], mapped[TX], mapped[TY], mapped[TZ]); - if (mapping_widget && mapping_widget->isVisible()) - mapping_widget->repaint(); + if (mapping_widget) + mapping_widget->refresh_tab(); QLCDNumber* raw_[] = { ui.raw_x, ui.raw_y, ui.raw_z, |