From 60db779891bee02dc209bd98d1bc409f043fa6ec Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Tue, 24 Jan 2023 21:07:13 +1100
Subject: Don't defer relayout upon ctg change

---
 src/components/SettingsModal.vue | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

(limited to 'src/components/SettingsModal.vue')

diff --git a/src/components/SettingsModal.vue b/src/components/SettingsModal.vue
index e30316d..5c6f8d8 100644
--- a/src/components/SettingsModal.vue
+++ b/src/components/SettingsModal.vue
@@ -124,12 +124,7 @@ let changedCtg: string | null = null; // Used to defer signalling of a category
 
 function onSettingChg(option: string){ 
 	store.save(option);
-
-	if (option.startsWith('ctgs.')){
-		changedCtg = option;
-	} else {
-		emit('change', option);
-	}
+	emit('change', option);
 
 	// Make 'Saved' indicator appear/animate
 	if (!saved.value){
-- 
cgit v1.2.3

