aboutsummaryrefslogtreecommitdiff
path: root/mainwindow.cc
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-06-18 17:03:58 +0200
committerJavier <dev.git@javispedro.com>2015-06-18 17:03:58 +0200
commitc600a58dda6e81d09f9f0f82230005477ddd79ef (patch)
treee9884c1244c6fba8963043c4282b96a53bc51c85 /mainwindow.cc
parent48bbd15017be5423074afd613c6f9fab8aac53d7 (diff)
downloadscribiu-c600a58dda6e81d09f9f0f82230005477ddd79ef.tar.gz
scribiu-c600a58dda6e81d09f9f0f82230005477ddd79ef.zip
Always refresh the paperreplay list
Diffstat (limited to 'mainwindow.cc')
-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 {