mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
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:
@@ -151,7 +151,7 @@ void ElementsMover::continueMovement(const QPointF &movement)
|
|||||||
conductor->updatePath();
|
conductor->updatePath();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_status_bar)
|
if (m_movement_driver)
|
||||||
{
|
{
|
||||||
const auto point_{m_movement_driver->scenePos()};
|
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())));
|
m_status_bar->showMessage(QString("x %1 : y %2").arg(QString::number(point_.x()), QString::number(point_.y())));
|
||||||
|
|||||||
Reference in New Issue
Block a user