@ -638,7 +638,6 @@ UBBoardView::drawItems (QPainter *painter, int numItems,
QGraphicsItem* items[],
const QStyleOptionGraphicsItem options[])
{
if (!mFilterZIndex)
QGraphicsView::drawItems (painter, numItems, items, options);
@ -9,7 +9,6 @@
#define UBBOARDVIEW_H_
#include <QtGui>
#include "core/UB.h"
class UBBoardController;
@ -256,6 +256,7 @@ void UBGraphicsTextItem::setTextHeight(qreal height)
qreal minHeight = fm.height() + document()->documentMargin() * 2;
mTextHeight = qMax(minHeight, height);
update();
setFocus();
}