summaryrefslogtreecommitdiff
path: root/src/pies
diff options
context:
space:
mode:
Diffstat (limited to 'src/pies')
-rw-r--r--src/pies/pieManager.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pies/pieManager.vala b/src/pies/pieManager.vala
index 0263d23..162a61f 100644
--- a/src/pies/pieManager.vala
+++ b/src/pies/pieManager.vala
@@ -88,6 +88,10 @@ public class PieManager : GLib.Object {
window.on_closed.connect(() => {
opened_windows.remove(window);
+ if (opened_windows.size == 0) {
+ ThemedIcon.clear_cache();
+ Icon.clear_cache();
+ }
});
window.on_closing.connect(() => {