author | zautrix <zautrix> | 2004-10-12 20:14:39 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-12 20:14:39 (UTC) |
commit | 77e3a7bc670f4c9b7eb5a5d6652a7986ea196533 (patch) (unidiff) | |
tree | 963c068c7648899a4c3ac26542605f05492019c5 /kaddressbook | |
parent | d3759373291c08d2cde93d85a76d190dc8a33830 (diff) | |
download | kdepimpi-77e3a7bc670f4c9b7eb5a5d6652a7986ea196533.zip kdepimpi-77e3a7bc670f4c9b7eb5a5d6652a7986ea196533.tar.gz kdepimpi-77e3a7bc670f4c9b7eb5a5d6652a7986ea196533.tar.bz2 |
Changed phone number sorting in details view
-rw-r--r-- | kaddressbook/phoneeditwidget.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kaddressbook/phoneeditwidget.cpp b/kaddressbook/phoneeditwidget.cpp index 78b9941..19bb676 100644 --- a/kaddressbook/phoneeditwidget.cpp +++ b/kaddressbook/phoneeditwidget.cpp | |||
@@ -215,6 +215,7 @@ void PhoneEditWidget::edit() | |||
215 | if ( dlg.changed() ) { | 215 | if ( dlg.changed() ) { |
216 | mPhoneList = dlg.phoneNumbers(); | 216 | mPhoneList = dlg.phoneNumbers(); |
217 | updateCombos(); | 217 | updateCombos(); |
218 | updateLineEdits(); | ||
218 | emit modified(); | 219 | emit modified(); |
219 | } | 220 | } |
220 | } | 221 | } |
@@ -289,9 +290,6 @@ void PhoneEditWidget::updatePhoneNumber( PhoneTypeCombo *combo ) | |||
289 | PhoneNumber::List::Iterator it = combo->selectedElement(); | 290 | PhoneNumber::List::Iterator it = combo->selectedElement(); |
290 | if ( it != mPhoneList.end() ) { | 291 | if ( it != mPhoneList.end() ) { |
291 | (*it).setNumber( edit->text() ); | 292 | (*it).setNumber( edit->text() ); |
292 | } else { | ||
293 | kdDebug(5720) << "PhoneEditWidget::updatePhoneNumber(): no selected element" | ||
294 | << endl; | ||
295 | } | 293 | } |
296 | 294 | ||
297 | updateOtherEdit( combo, mPrefCombo ); | 295 | updateOtherEdit( combo, mPrefCombo ); |