* bring back scan help, and pass in vst type ID based on win vs mac

This commit is contained in:
Seth Call 2015-12-27 10:11:22 -06:00
parent 190b43bd60
commit f7ec3df32d
3 changed files with 4 additions and 3 deletions

View File

@ -239,6 +239,7 @@ ConfigureTracksStore = @ConfigureTracksStore
<div className="actions">
{cancelBtn}
<a onClick={this.doClose} className="button-orange">{action}</a>
{scanHelp}
</div>
</div>
</div>`

View File

@ -156,13 +156,13 @@ void removeSearchPath(int typeId, QString pathToRemove);
onAddSearchPath: (path) ->
logger.debug("VSTAddSearchPath: " + path)
context.jamClient.VSTAddSearchPath(vstTypeId(), path)
context.jamClient.VSTAddSearchPath(@vstTypeId(), path)
@listPaths()
@changed()
onRemoveSearchPath: (path) ->
logger.debug("VSTRemoveSearchPath: " + path)
context.jamClient.VSTRemoveSearchPath(vstTypeId(), path)
context.jamClient.VSTRemoveSearchPath(@vstTypeId(), path)
@listPaths()
@changed()

View File

@ -12,7 +12,7 @@ logger = context.JK.logger
onAppInit: (@app) ->
@os = context.jamClient.GetOSAsString()
this.trigger({os: @os, isWindows: @isWindows})
this.trigger({os: @os, isWindows: @isWindows()})
isWindows: ->
@os == 'Win32'