Fix import multi

This commit is contained in:
Christian Hohnstaedt 2006-11-21 18:11:49 +01:00 committed by Christian Hohnstaedt
parent 3e28c9db83
commit 2dd1a65017
3 changed files with 20 additions and 2 deletions

View File

@ -296,7 +296,6 @@ void db_base::inToCont(pki_base *pki)
pki_base *db_base::getByName(QString desc)
{
if (desc == "" ) return NULL;
FOR_ALL_pki(pki, pki_base) {
if (pki->getIntName() == desc)
return pki;

View File

@ -390,6 +390,8 @@ void db_x509::newCert(NewX509 *dlg)
// Step 1 - Subject and key
if (!dlg->fromReqCB->isChecked()) {
clientkey = dlg->getSelectedKey();
if (!clientkey)
return;
subject = dlg->getX509name();
intname = dlg->description->text();
}

View File

@ -111,5 +111,22 @@
</widget>
<pixmapfunction></pixmapfunction>
<resources/>
<connections/>
<connections>
<connection>
<sender>butCancel</sender>
<signal>clicked()</signal>
<receiver>ImportMulti</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>373</x>
<y>131</y>
</hint>
<hint type="destinationlabel" >
<x>287</x>
<y>358</y>
</hint>
</hints>
</connection>
</connections>
</ui>