Summary: | KNode fails to list of newsgroups from the server | ||
---|---|---|---|
Product: | [Unmaintained] knode | Reporter: | michal |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 0.7.6 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
michal
2003-12-15 22:36:52 UTC
CVS commit by vkrause: Don't save accounts before they have a valid id. CCMAIL: 70539-done@bugs.kde.org M +5 -2 knconfigwidgets.cpp 1.99 --- kdepim/knode/knconfigwidgets.cpp #1.98:1.99 @@ -385,6 +385,8 @@ void KNConfig::NntpAccountListWidget::sl KNNntpAccount *acc = new KNNntpAccount(); - if(acc->editProperties(this)) + if(acc->editProperties(this)) { a_ccManager->newAccount(acc); + acc->saveInfo(); + } else delete acc; @@ -545,4 +547,5 @@ void KNConfig::NntpAccountConfDialog::sl a_ccount->setIntervalChecking(i_nterval->isChecked()); a_ccount->setCheckInterval(c_heckInterval->value()); + if (a_ccount->id() != -1) // only save if account has a valid id a_ccount->saveInfo(); |