When the line edit is active the combo box is temporarily set to an invalid index - we then retrieve this which breaks everything. End result: We insert items into the model with invalid presences.
Git commit 92e87b7914b37c64e237faaac3562f3f2ae19c62 by Martin Klapetek. Committed on 23/10/2011 at 22:05. Pushed by mklapetek into branch 'master'. Make enter key in the custom presence dialog work Reviewed-by: David Edmundson REVIEW: 102865 BUG: 283802 M +21 -2 dialogs/custom-presence-dialog.cpp M +1 -0 dialogs/custom-presence-dialog.h http://commits.kde.org/telepathy-contact-list/92e87b7914b37c64e237faaac3562f3f2ae19c62