Allow clipboard access for attach menu bots.
This commit is contained in:
parent
2a5698cf34
commit
73690d14f7
|
@ -1458,6 +1458,10 @@ void AttachWebView::show(
|
||||||
: attached->inMainMenu
|
: attached->inMainMenu
|
||||||
? Button::RemoveFromMainMenu
|
? Button::RemoveFromMainMenu
|
||||||
: Button::RemoveFromMenu);
|
: Button::RemoveFromMenu);
|
||||||
|
if (attached != end(_attachBots)
|
||||||
|
&& (attached->inAttachMenu || attached->inMainMenu)) {
|
||||||
|
allowClipboardRead = true;
|
||||||
|
}
|
||||||
|
|
||||||
_lastShownUrl = url;
|
_lastShownUrl = url;
|
||||||
_lastShownQueryId = queryId;
|
_lastShownQueryId = queryId;
|
||||||
|
|
Loading…
Reference in New Issue