|
From: Tapio V. <aa...@us...> - 2011-01-12 13:35:19
|
Module: editor
Branch: master
Commit: 4dd6c33839d9c1410891f43b58480af0613a3742
Author: Tapio Vierros <tap...@gm...>
Date: Wed Jan 12 14:46:24 2011 +0200
Changing lyric text no longer resizes the label.
---
notegraphwidget.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/notegraphwidget.cc b/notegraphwidget.cc
index 04169c6..dd837d0 100644
--- a/notegraphwidget.cc
+++ b/notegraphwidget.cc
@@ -240,7 +240,7 @@ void NoteGraphWidget::mouseDoubleClickEvent(QMouseEvent *event)
child->lyric(), &ok);
if (ok && !text.isEmpty()) {
child->setLyric(text);
- child->createPixmap();
+ child->createPixmap(child->size());
}
}
|