diff options
Diffstat (limited to 'notebookmodel.cc')
-rw-r--r-- | notebookmodel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notebookmodel.cc b/notebookmodel.cc index b9c897e..8a58ebf 100644 --- a/notebookmodel.cc +++ b/notebookmodel.cc @@ -124,7 +124,7 @@ QVariant NotebookModel::data(const QModelIndex &index, int role) const case Qt::DisplayRole: switch (index.column()) { case 0: - return notebooks.at(index.row()); + return notebookName; case 1: if (notebookName != PAPER_REPLAY) { return estimatePagesOfNotebook(penName, notebookName); |