diff options
author | Lukáš Lalinský <lalinsky@gmail.com> | 2008-12-08 23:18:01 +0100 |
---|---|---|
committer | Lukáš Lalinský <lalinsky@gmail.com> | 2008-12-08 23:18:01 +0100 |
commit | 52d99697c9865ea094b76cf5f644538875a9406b (patch) | |
tree | f3161c1f8522cc249867774fbc7a64c6227193fb /src/items/database | |
parent | 83ec1b4f1722ce891f3d5871e27ae66a7228abe4 (diff) | |
download | dbmodel-52d99697c9865ea094b76cf5f644538875a9406b.tar.xz |
Don't export/print the grid or the selection status
Diffstat (limited to 'src/items/database')
-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); } |