Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
NPE fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasVyhlidka authored and zakkak committed Oct 30, 2018
1 parent d20f11a commit 54e882d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,9 @@ function disableDynamicWorkspaces() {
} else {
settings = global.get_overrides_settings();
}
settings.set_boolean("dynamic-workspaces", false);
if (settings) {
settings.set_boolean("dynamic-workspaces", false);
}
}

/******************
Expand Down

0 comments on commit 54e882d

Please sign in to comment.