Skip to content

Commit a0f7484

Browse files
author
Jeremy Bowman
committed
Recent files update fix
1 parent 4184adb commit a0f7484

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

Diff for: CHANGES

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
2010-05-29 JMB Recent files update fix
2+
3+
Fixed a bug where an invalid entry was added to the recently opened files
4+
list when importing a MobileDB or XML file.
5+
6+
2010-05-27 #################### PortaBase 2.0rc1 ####################
7+
8+
2010-05-27 JMB Japanese update, accelerator clash fix, dropped file fix
9+
10+
Updated the Japanese translation of the help file (fixing a few minor
11+
issues with the UI translation and the English help file in the process).
12+
Both "Preferences" and "Edit Enums" in the File menu were using the "E"
13+
accelerator, switched the latter to use "N". Also accounted for the
14+
possibility of dropping files which don't have the extension all in lower
15+
case. Updated version numbers for the next release.
16+
117
2010-05-25 JMB Fixed file creation bug, stale filter bug
218

319
Fixed a rather serious bug introduced by the support for read-only files,

Diff for: portabase.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ void PortaBase::createFile(ImportDialog::DataSource source,
603603
else if (result == QMessageBox::Yes) {
604604
encrypted = true;
605605
}
606-
if (QFile::exists(file) && !QFile::remove(file)) {
606+
if (QFile::exists(f) && !QFile::remove(f)) {
607607
QMessageBox::warning(this, qApp->applicationName(),
608608
tr("Unable to overwrite existing file"));
609609
}
@@ -642,7 +642,7 @@ void PortaBase::createFile(ImportDialog::DataSource source,
642642
updateCaption();
643643
// if not saved now, file is empty without later save...bad
644644
save();
645-
mh->opened(file);
645+
mh->opened(doc);
646646
}
647647
else {
648648
delete db;

0 commit comments

Comments
 (0)