From 6daf09912d9dd2b5879aeacae97877fdd33c1251 Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Wed, 22 Aug 2018 21:16:29 +0900
Subject: [PATCH] refs #551 Set active tab to first when close preferences
---
src/renderer/components/Preferences.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/renderer/components/Preferences.vue b/src/renderer/components/Preferences.vue
index d271d35b..ba555fe5 100644
--- a/src/renderer/components/Preferences.vue
+++ b/src/renderer/components/Preferences.vue
@@ -54,6 +54,7 @@ export default {
methods: {
close () {
this.$router.push('/')
+ this.$store.commit('Preferences/changeActive', '1')
},
general () {
this.$router.push('/preferences/general')