mirror of
https://github.com/chris2511/xca.git
synced 2026-09-13 18:46:25 +05:00
PR #425: Refresh supported hashes after key generation
There were 2 slots to trigger the switchHashAlgo() whenever the selected key or request changes. But their signature for automatic connect()ion was wrong. After fixing the methods signature, they are connected and get called whenever the keylist changes and especially, when a new key is inserted.
This commit is contained in:
parent
46c0f7ed25
commit
fdf48c8b5b
@ -614,12 +614,12 @@ void NewX509::on_reqSubChange_clicked()
|
||||
on_fromReqCB_clicked();
|
||||
}
|
||||
|
||||
void NewX509::on_keyList_currentIndexChanged(const QString &)
|
||||
void NewX509::on_keyList_currentIndexChanged(int)
|
||||
{
|
||||
switchHashAlgo();
|
||||
}
|
||||
|
||||
void NewX509::on_reqList_currentIndexChanged(const QString &)
|
||||
void NewX509::on_reqList_currentIndexChanged(int)
|
||||
{
|
||||
switchHashAlgo();
|
||||
}
|
||||
|
||||
@ -123,8 +123,8 @@ class NewX509: public QDialog, public Ui::NewX509
|
||||
|
||||
public slots:
|
||||
void on_fromReqCB_clicked();
|
||||
void on_keyList_currentIndexChanged(const QString &);
|
||||
void on_reqList_currentIndexChanged(const QString &);
|
||||
void on_keyList_currentIndexChanged(int);
|
||||
void on_reqList_currentIndexChanged(int);
|
||||
void newKeyDone(pki_key *nkey);
|
||||
void on_applyTime_clicked();
|
||||
void on_editSubAlt_clicked();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user