-rw-r--r-- | libkdepim/categoryselectdialog.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libkdepim/categoryselectdialog.cpp b/libkdepim/categoryselectdialog.cpp index 4d80726..974752c 100644 --- a/libkdepim/categoryselectdialog.cpp +++ b/libkdepim/categoryselectdialog.cpp | |||
@@ -64,3 +64,6 @@ void CategorySelectDialog::editCategoriesDialog() | |||
64 | delete ced; | 64 | delete ced; |
65 | slotApply(); | ||
66 | QStringList temp = mCategoryList; | ||
65 | setCategories(); | 67 | setCategories(); |
68 | setSelected( temp ); | ||
66 | } | 69 | } |
@@ -194,3 +197,3 @@ void CategorySelectDialog::slotApply() | |||
194 | categories.prepend( colcat ); | 197 | categories.prepend( colcat ); |
195 | QString categoriesStr = categories.join(","); | 198 | // QString categoriesStr = categories.join(","); |
196 | 199 | ||
@@ -198,4 +201,2 @@ void CategorySelectDialog::slotApply() | |||
198 | 201 | ||
199 | emit categoriesSelected(categories); | ||
200 | emit categoriesSelected(categoriesStr); | ||
201 | } | 202 | } |
@@ -209,2 +210,4 @@ void CategorySelectDialog::slotOk() | |||
209 | slotApply(); | 210 | slotApply(); |
211 | emit categoriesSelected(mCategoryList); | ||
212 | emit categoriesSelected(mCategoryList.join(",")); | ||
210 | QDialog::accept(); | 213 | QDialog::accept(); |