aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--notebookmodel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/notebookmodel.cc b/notebookmodel.cc
index dc066de..9a51bf9 100644
--- a/notebookmodel.cc
+++ b/notebookmodel.cc
@@ -172,7 +172,7 @@ QVariant NotebookModel::data(const QModelIndex &index, int role) const
case Qt::TextAlignmentRole:
switch (index.column()) {
case 0:
- return Qt::AlignLeft;
+ return QVariant::fromValue<int>(Qt::AlignLeft | Qt::AlignVCenter);
case 1:
case 2:
return Qt::AlignCenter;