summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/zsafe/zsafe.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/apps/zsafe/zsafe.cpp b/noncore/apps/zsafe/zsafe.cpp
index e86b3d2..9341425 100644
--- a/noncore/apps/zsafe/zsafe.cpp
+++ b/noncore/apps/zsafe/zsafe.cpp
@@ -2811,4 +2811,6 @@ void ZSafe::setCategoryDialogFields(CategoryDialog *dialog)
icon = cat->getIconName();
}
+ else
+ icon = conf->readEntry(APP_KEY+selectedItem->text(0));
}
else
@@ -2876,4 +2878,6 @@ void ZSafe::setCategoryDialogFields(CategoryDialog *dialog, QString category)
icon = cat->getIconName();
}
+ else
+ icon = conf->readEntry(APP_KEY+category);
#ifdef DESKTOP