diff --git a/source/NVDAObjects/window/excel.py b/source/NVDAObjects/window/excel.py index 87ef5ec0db3..f2a3d79ae0c 100755 --- a/source/NVDAObjects/window/excel.py +++ b/source/NVDAObjects/window/excel.py @@ -1403,7 +1403,7 @@ def script_editComment(self,gesture): _("Editing comment for cell {address}").format(address=self.cellCoordsText), # Translators: Title of a dialog edit an Excel comment _("Comment"), - defaultValue=commentObj.text() if commentObj else u"", + value=commentObj.text() if commentObj else u"", style=wx.TE_MULTILINE|wx.OK|wx.CANCEL) def callback(result): if result == wx.ID_OK: diff --git a/source/gui/configProfiles.py b/source/gui/configProfiles.py index 229b9dddfa1..bf037198572 100644 --- a/source/gui/configProfiles.py +++ b/source/gui/configProfiles.py @@ -218,7 +218,7 @@ def onRename(self, evt): # Translators: The label of a field to enter a new name for a configuration profile. with wx.TextEntryDialog(self, _("New name:"), # Translators: The title of the dialog to rename a configuration profile. - _("Rename Profile"), defaultValue=oldName) as d: + _("Rename Profile"), value=oldName) as d: if d.ShowModal() == wx.ID_CANCEL: return newName = api.filterFileName(d.Value)