rename all references to default_button_index -> default_id to keep consistent with cancel_id

This commit is contained in:
leethomas 2016-01-10 15:33:27 -08:00
parent dfce803045
commit ae5c6add11
7 changed files with 28 additions and 28 deletions

View file

@ -95,7 +95,7 @@ module.exports =
options.message ?= ''
options.detail ?= ''
options.icon ?= null
options.defaultButtonIndex ?= -1
options.defaultId ?= -1
# Choose a default button to get selected when dialog is cancelled.
unless options.cancelId?
@ -109,7 +109,7 @@ module.exports =
binding.showMessageBox messageBoxType,
options.buttons,
options.defaultButtonIndex,
options.defaultId,
options.cancelId,
flags,
options.title,