From f825d0230a6b29339c6f9f10a5622ef3da0f9cb4 Mon Sep 17 00:00:00 2001 From: Julien Cochuyt Date: Sun, 22 Nov 2020 14:11:16 +0100 Subject: [PATCH] Fix-up of PR #9843: Impact MS Word browse mode --- source/NVDAObjects/window/winword.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/NVDAObjects/window/winword.py b/source/NVDAObjects/window/winword.py index 5c1040b9e52..0b2c97e75d3 100755 --- a/source/NVDAObjects/window/winword.py +++ b/source/NVDAObjects/window/winword.py @@ -1,7 +1,8 @@ # -*- coding: UTF-8 -*- # NVDAObjects/window/winword.py # A part of NonVisual Desktop Access (NVDA) -# Copyright (C) 2006-2020 NV Access Limited, Manish Agrawal, Derek Riemer, Babbage B.V. +# Copyright (C) 2006-2020 NV Access Limited, Manish Agrawal, Derek Riemer, Babbage B.V., Accessolutions, +# Julien Cochuyt # This file is covered by the GNU General Public License. # See the file COPYING for more details. @@ -613,8 +614,10 @@ def _get_locationText(self): textList.append(_("{distance} from top edge of page").format(distance=distance)) return ", ".join(textList) - def copyToClipboard(self): + def copyToClipboard(self, notify=True): self._rangeObj.copy() + if notify: + ui.reportTextCopiedToClipboard(self._rangeObj.text) return True def find(self,text,caseSensitive=False,reverse=False):