mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
Close #224: Store original path/filename on import
This commit is contained in:
parent
b60bd0226b
commit
cbe7709b20
@ -234,6 +234,11 @@ void db_base::sortIndicatorChanged(int logicalIndex, Qt::SortOrder order)
|
||||
|
||||
void db_base::insertPKI(pki_base *pki)
|
||||
{
|
||||
QString filename = pki->getFilename();
|
||||
if (!filename.isEmpty()) {
|
||||
pki->selfComment(tr("Import from: %1").arg(filename));
|
||||
pki->setFilename(QString());
|
||||
}
|
||||
Transaction;
|
||||
if (!TransBegin())
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user