mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
Fix calendar export for CAs
The export checked the F_CHAIN flag, but the export item used the F_CA flag to indicate CA calendar exports.
This commit is contained in:
parent
e3c2c40f1e
commit
c7565cf0f1
@ -650,7 +650,7 @@ void db_x509::exportItems(const QModelIndexList &list,
|
||||
} else if (xport->match_all(F_CAL)) {
|
||||
QStringList vcal;
|
||||
foreach(crt, certs) {
|
||||
vcal += xport->match_all(F_CHAIN) ?
|
||||
vcal += xport->match_all(F_CA) ?
|
||||
crt->icsVEVENT_ca() : crt->icsVEVENT();
|
||||
}
|
||||
writeVcalendar(file, vcal);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user