-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() delete ced; + slotApply(); + QStringList temp = mCategoryList; setCategories(); + setSelected( temp ); } @@ -194,3 +197,3 @@ void CategorySelectDialog::slotApply() categories.prepend( colcat ); - QString categoriesStr = categories.join(","); + // QString categoriesStr = categories.join(","); @@ -198,4 +201,2 @@ void CategorySelectDialog::slotApply() - emit categoriesSelected(categories); - emit categoriesSelected(categoriesStr); } @@ -209,2 +210,4 @@ void CategorySelectDialog::slotOk() slotApply(); + emit categoriesSelected(mCategoryList); + emit categoriesSelected(mCategoryList.join(",")); QDialog::accept(); |