diff options
Diffstat (limited to 'src/items/database/databasetable.cpp')
-rw-r--r-- | src/items/database/databasetable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/items/database/databasetable.cpp b/src/items/database/databasetable.cpp index 911457f..1460cd8 100644 --- a/src/items/database/databasetable.cpp +++ b/src/items/database/databasetable.cpp @@ -61,7 +61,7 @@ DatabaseTable::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QPen pen(QPen(QColor(0, 0, 0))); pen.setJoinStyle(Qt::MiterJoin); QPen borderPen(pen); - if (isSelected()) { + if (!model()->isPrinting() && isSelected()) { borderPen.setColor(QColor(0, 96, 255)); borderPen.setWidth(2); } |