mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +08:00
fix shortcut copy conflict (#2112)
This commit is contained in:
parent
243a03e142
commit
06b9269b84
@ -2180,7 +2180,7 @@ void NotebookNodeExplorer::setupShortcuts()
|
|||||||
|
|
||||||
// Copy
|
// Copy
|
||||||
{
|
{
|
||||||
auto shortcut = WidgetUtils::createShortcut(coreConfig.getShortcut(CoreConfig::Copy), this);
|
auto shortcut = WidgetUtils::createShortcut(coreConfig.getShortcut(CoreConfig::Copy), this, Qt::WidgetWithChildrenShortcut);
|
||||||
if (shortcut) {
|
if (shortcut) {
|
||||||
connect(shortcut, &QShortcut::activated,
|
connect(shortcut, &QShortcut::activated,
|
||||||
this, [this]() {
|
this, [this]() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user