author | ar <ar> | 2004-06-18 23:10:32 (UTC) |
---|---|---|
committer | ar <ar> | 2004-06-18 23:10:32 (UTC) |
commit | 48ec0fc077b7834c49c1af1b1279f943ef58de41 (patch) (unidiff) | |
tree | eb740524cb80edcbc6ac68739bb6fbf48355017b | |
parent | d45caef648bce4a73f6f847bc6e9aad125977deb (diff) | |
download | opie-48ec0fc077b7834c49c1af1b1279f943ef58de41.zip opie-48ec0fc077b7834c49c1af1b1279f943ef58de41.tar.gz opie-48ec0fc077b7834c49c1af1b1279f943ef58de41.tar.bz2 |
- BUGFIX: 0001292 - opie sheet not saving correctly
-rw-r--r-- | noncore/apps/opie-sheet/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-sheet/mainwindow.cpp b/noncore/apps/opie-sheet/mainwindow.cpp index bb85a24..7394623 100644 --- a/noncore/apps/opie-sheet/mainwindow.cpp +++ b/noncore/apps/opie-sheet/mainwindow.cpp | |||
@@ -228,9 +228,9 @@ void MainWindow::selectorFileOpen(const DocLnk &lnkDoc) | |||
228 | selectorHide(); | 228 | selectorHide(); |
229 | 229 | ||
230 | if (documentModified && saveCurrentFile()==QMessageBox::Cancel) return; | 230 | if (documentModified && saveCurrentFile()==QMessageBox::Cancel) return; |
231 | if (currentDoc) delete currentDoc; | 231 | if (currentDoc) delete currentDoc; |
232 | currentDoc = new DocLnk(); | 232 | currentDoc = new DocLnk( lnkDoc ); |
233 | listSheets.clear(); | 233 | listSheets.clear(); |
234 | comboSheets->clear(); | 234 | comboSheets->clear(); |
235 | 235 | ||
236 | documentOpen(lnkDoc); | 236 | documentOpen(lnkDoc); |