Skip to content

[CLOSED] Only kick off project pref loading when the project changes #6649

@core-ai-bot

Description

@core-ai-bot

Issue by dangoor
Tuesday Apr 01, 2014 at 13:40 GMT
Originally opened as adobe/brackets#7371


This is a fix for #7250. What was happening is that there was a file tree refresh occurring and that was causing the PreferencesManager._setCurrentEditingFile in _loadProject to fire. The purpose of that call is to start the loading of project-level prefs, but in this case we weren't actually loading a new project and the result was that the preferences context for editing was being set incorrectly.


dangoor included the following code: https://github.com/adobe/brackets/pull/7371/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions