From f2fb9107301bcff384286918120ace8b693cba27 Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Wed, 4 Jan 2017 20:51:34 +0100 Subject: [PATCH] fix roaming type for Project View settings --- .../ide/projectView/impl/ProjectViewSharedSettings.kt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/ide/projectView/impl/ProjectViewSharedSettings.kt b/platform/lang-impl/src/com/intellij/ide/projectView/impl/ProjectViewSharedSettings.kt index 62873fcca13d..74a3590e01da 100644 --- a/platform/lang-impl/src/com/intellij/ide/projectView/impl/ProjectViewSharedSettings.kt +++ b/platform/lang-impl/src/com/intellij/ide/projectView/impl/ProjectViewSharedSettings.kt @@ -1,5 +1,5 @@ /* - * Copyright 2000-2016 JetBrains s.r.o. + * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,14 +15,17 @@ */ package com.intellij.ide.projectView.impl -import com.intellij.openapi.components.* +import com.intellij.openapi.components.PersistentStateComponent +import com.intellij.openapi.components.ServiceManager +import com.intellij.openapi.components.State +import com.intellij.openapi.components.Storage import com.intellij.util.xmlb.XmlSerializerUtil /** * @author Konstantin Bulenkov */ @State(name = "ProjectViewSharedSettings", - storages = arrayOf(Storage(value = "projectView.xml", roamingType = RoamingType.PER_OS))) + storages = arrayOf(Storage(value = "projectView.xml"))) class ProjectViewSharedSettings : PersistentStateComponent { var flattenPackages = false