aboutsummaryrefslogtreecommitdiffstats
path: root/appearance/Udt.qml
diff options
context:
space:
mode:
Diffstat (limited to 'appearance/Udt.qml')
-rw-r--r--appearance/Udt.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/appearance/Udt.qml b/appearance/Udt.qml
index 30ae285..81e6427 100644
--- a/appearance/Udt.qml
+++ b/appearance/Udt.qml
@@ -71,6 +71,14 @@ Singleton {
// The scheme list comes from the palette directory rather than the comment
// in roles.conf: adding a scheme is adding two files, and this then needs
// no edit at all.
+ // Rescanned whenever the panel opens: adding a scheme is adding two
+ // files, and a shell that has been running since before they appeared
+ // would otherwise keep showing the old list.
+ function refresh() {
+ listProc.running = false;
+ listProc.running = true;
+ }
+
Process {
id: listProc
running: true