rename all references to default_button_index -> default_id to keep consistent with cancel_id
This commit is contained in:
parent
dfce803045
commit
ae5c6add11
7 changed files with 28 additions and 28 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue