summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-10-08 11:52:37 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-08 11:52:37 +0100
commit4ed418dcc2072936d1629422be2190123fedce65 (patch)
treedfe21662dad9133a0e42f8f8acc6d6d356c29699 /qt-ui
parenteccac1321f512d820ac25aa89f6f7cce50fdd6df (diff)
downloadsubsurface-4ed418dcc2072936d1629422be2190123fedce65.tar.gz
Fix font issue on Windows 10 in the weight widget
Column headers were drawin in a smaller font. This fixes it for no apparent reason. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/maintab.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 446ad7716..e97812cf6 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -160,6 +160,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
label->setContentsMargins(margins);
}
ui.cylinders->view()->horizontalHeader()->setContextMenuPolicy(Qt::ActionsContextMenu);
+ ui.weights->view()->horizontalHeader()->setContextMenuPolicy(Qt::ActionsContextMenu);
QSettings s;
s.beginGroup("cylinders_dialog");