mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fixes #1767
This commit is contained in:
parent
b905e0afd1
commit
828fb2c3f5
|
@ -132,7 +132,7 @@ ChannelView::ChannelView(BaseWidget *parent)
|
|||
this->updatePauses();
|
||||
});
|
||||
|
||||
auto shortcut = new QShortcut(QKeySequence("Ctrl+C"), this);
|
||||
auto shortcut = new QShortcut(QKeySequence::StandardKey::Copy, this);
|
||||
QObject::connect(shortcut, &QShortcut::activated,
|
||||
[this] { crossPlatformCopy(this->getSelectedText()); });
|
||||
|
||||
|
|
|
@ -435,7 +435,8 @@ void SplitInput::installKeyPressedEvent()
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (event->key() == Qt::Key_C &&
|
||||
else if ((event->key() == Qt::Key_C ||
|
||||
event->key() == Qt::Key_Insert) &&
|
||||
event->modifiers() == Qt::ControlModifier)
|
||||
{
|
||||
if (this->split_->view_->hasSelection())
|
||||
|
|
Loading…
Reference in a new issue