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
This commit is contained in:
Laurent Trinques 2022-11-12 12:14:27 +01:00
parent c397bb6c1d
commit 3341d65a89

View File

@ -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())));