diff options
author | Javier <dev.git@javispedro.com> | 2015-06-18 17:03:58 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-06-18 17:03:58 +0200 |
commit | c600a58dda6e81d09f9f0f82230005477ddd79ef (patch) | |
tree | e9884c1244c6fba8963043c4282b96a53bc51c85 | |
parent | 48bbd15017be5423074afd613c6f9fab8aac53d7 (diff) | |
download | scribiu-c600a58dda6e81d09f9f0f82230005477ddd79ef.tar.gz scribiu-c600a58dda6e81d09f9f0f82230005477ddd79ef.zip |
Always refresh the paperreplay list
-rw-r--r-- | mainwindow.cc | 5 |
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 ¬ebook) 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 { |