piqt importand fix with qmap serialization
ImageView now supprt view interaction BlockView update background when EnabledChange
This commit is contained in:
@@ -113,6 +113,9 @@ bool BlockView::event(QEvent * e) {
|
||||
QGraphicsView::scale(cscl / prev_app_scale, cscl / prev_app_scale);
|
||||
prev_app_scale = cscl;
|
||||
}
|
||||
if (e->type() == QEvent::EnabledChange) {
|
||||
_updateBack();
|
||||
}
|
||||
return QGraphicsView::event(e);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user