Commit 71746cf3 authored by shibakaneki's avatar shibakaneki

Fixed issue Sankore-32

parent 30e35f0e
...@@ -638,7 +638,6 @@ UBBoardView::drawItems (QPainter *painter, int numItems, ...@@ -638,7 +638,6 @@ UBBoardView::drawItems (QPainter *painter, int numItems,
QGraphicsItem* items[], QGraphicsItem* items[],
const QStyleOptionGraphicsItem options[]) const QStyleOptionGraphicsItem options[])
{ {
if (!mFilterZIndex) if (!mFilterZIndex)
{ {
QGraphicsView::drawItems (painter, numItems, items, options); QGraphicsView::drawItems (painter, numItems, items, options);
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#define UBBOARDVIEW_H_ #define UBBOARDVIEW_H_
#include <QtGui> #include <QtGui>
#include "core/UB.h" #include "core/UB.h"
class UBBoardController; class UBBoardController;
......
...@@ -256,6 +256,7 @@ void UBGraphicsTextItem::setTextHeight(qreal height) ...@@ -256,6 +256,7 @@ void UBGraphicsTextItem::setTextHeight(qreal height)
qreal minHeight = fm.height() + document()->documentMargin() * 2; qreal minHeight = fm.height() + document()->documentMargin() * 2;
mTextHeight = qMax(minHeight, height); mTextHeight = qMax(minHeight, height);
update(); update();
setFocus();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment