fix roaming type for Project View settings

This commit is contained in:
Konstantin Bulenkov
2017-01-04 20:51:34 +01:00
parent 4c21b6a322
commit f2fb910730
@@ -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<ProjectViewSharedSettings> {
var flattenPackages = false