Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

Commit

Permalink
Don't show outline view when setting is disabled (#1166)
Browse files Browse the repository at this point in the history
The outline view was opening at startup regardless of the setting "Show outline view". It opened at every atom startup. I had to disable the `dart` plugin for the times I'm not working with dart because it's so annoying.

fixes #1164
  • Loading branch information
passsy authored and devoncarew committed Jan 2, 2018
1 parent 6bdd351 commit 85c0396
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/impl/outline.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ class OutlineController extends DockedViewManager<OutlineView> {
);

disposables.add(atom.config.observe(_keyPath, null, (val) {
showView();
if (val == true) {
showView();
}
}));

disposables.add(atom.workspace.observeActiveTextEditor((activeEditor) {
Expand Down

0 comments on commit 85c0396

Please sign in to comment.