This commit is contained in:
Kevin Sawicki
2014-09-04 11:35:26 -07:00
parent 417134c799
commit 4e0928600f

View File

@@ -71,7 +71,7 @@ class AutoUpdateManager
atomWindow.sendCommand('window:update-available', [@releaseVersion, @releaseNotes])
setState: (state) ->
return unless @state != state
return if @state is state
@state = state
@emit 'state-changed', @state