Fix moving unmovable partitions bug in partition resize widget.
This commit is contained in:
parent
7914e0aa98
commit
541e89a476
|
@ -115,7 +115,8 @@ void PartResizerWidget::init(Device& d, Partition& p, qint64 minFirst, qint64 ma
|
||||||
m_PartWidget = new PartWidget(this, &partition());
|
m_PartWidget = new PartWidget(this, &partition());
|
||||||
|
|
||||||
if (!readOnly()) {
|
if (!readOnly()) {
|
||||||
leftHandle().setCursor(Qt::SizeHorCursor);
|
if (moveAllowed())
|
||||||
|
leftHandle().setCursor(Qt::SizeHorCursor);
|
||||||
rightHandle().setCursor(Qt::SizeHorCursor);
|
rightHandle().setCursor(Qt::SizeHorCursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue