From 3341d65a89604a30683b8fb5db0a3997c4ff2278 Mon Sep 17 00:00:00 2001 From: Laurent Trinques Date: Sat, 12 Nov 2022 12:14:27 +0100 Subject: [PATCH] Workaround to fix crash when moving element by arrows keys @driver_item item moved by mouse and don't be moved by Element mover Disable position x, y in statusBar when moving elements by arrows keys --- sources/elementsmover.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/elementsmover.cpp b/sources/elementsmover.cpp index 28bde0070..24e63792f 100644 --- a/sources/elementsmover.cpp +++ b/sources/elementsmover.cpp @@ -151,7 +151,7 @@ void ElementsMover::continueMovement(const QPointF &movement) conductor->updatePath(); } - if (m_status_bar) + if (m_movement_driver) { const auto point_{m_movement_driver->scenePos()}; m_status_bar->showMessage(QString("x %1 : y %2").arg(QString::number(point_.x()), QString::number(point_.y())));