aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mainwindow.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/mainwindow.cc b/mainwindow.cc
index 5d4f503..21b98ee 100644
--- a/mainwindow.cc
+++ b/mainwindow.cc
@@ -102,9 +102,8 @@ void MainWindow::openNotebook(const QString &pen, const QString &notebook)
if (_curNotebookName == PAPER_REPLAY) {
QString replayDir = _notebooks->paperReplayDirectory(_curPenName);
- if (_replay->open(replayDir, 0)) {
- _replayModel->refresh();
- }
+ _replay->open(replayDir, 0);
+ _replayModel->refresh();
ui->paperReplayView->setVisible(true);
} else {