Skip to content

Commit

Permalink
fix cancel sync
Browse files Browse the repository at this point in the history
  • Loading branch information
kekee000 committed Apr 18, 2016
1 parent 20f7043 commit 26fb3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fonteditor/controller/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ define(
!new SettingSync({
onChange: function (setting) {
program.project.updateConfig(program.data.projectId, {
sync: $.extend(syncConfig, setting)
sync: setting ? $.extend(syncConfig, setting) : null
});
program.projectViewer.show(program.project.items(), program.data.projectId);
}
Expand Down

0 comments on commit 26fb3aa

Please sign in to comment.