mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-14 20:33:05 +02: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:
parent
c397bb6c1d
commit
3341d65a89
@ -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())));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user