##// END OF EJS Templates
Fix missing legend...
Titta Heikkala -
r2602:2e0922f74ba5
parent child
Show More
@@ -407,10 +407,8 void QLegend::hideEvent(QHideEvent *event)
407 */
407 */
408 void QLegend::showEvent(QShowEvent *event)
408 void QLegend::showEvent(QShowEvent *event)
409 {
409 {
410 if (isAttachedToChart()) {
410 if (isAttachedToChart())
411 d_ptr->items()->setVisible(false);
412 layout()->invalidate();
411 layout()->invalidate();
413 }
414 QGraphicsWidget::showEvent(event);
412 QGraphicsWidget::showEvent(event);
415 //layout activation will show the items
413 //layout activation will show the items
416 }
414 }
General Comments 0
You need to be logged in to leave comments. Login now