fix: 快捷键存在问题
Description: 修改放大的快捷键 Log: 修改放大的快捷键为Ctrl+= Change-Id: Id410b5709cd6b202a5686d7c1ee9005d3b55768e
This commit is contained in:
parent
a7e7c64fbd
commit
84aa3515d0
|
@ -268,7 +268,7 @@ void MainWidget::loadingUi()
|
||||||
|
|
||||||
void MainWidget::initShortcut()
|
void MainWidget::initShortcut()
|
||||||
{
|
{
|
||||||
m_scAddView = new QShortcut(QKeySequence("Ctrl++"), this);
|
m_scAddView = new QShortcut(QKeySequence("Ctrl+="), this);
|
||||||
m_scAddView->setContext(Qt::WindowShortcut);
|
m_scAddView->setContext(Qt::WindowShortcut);
|
||||||
connect(m_scAddView, &QShortcut::activated, this, [ = ] {
|
connect(m_scAddView, &QShortcut::activated, this, [ = ] {
|
||||||
if (m_imageview)
|
if (m_imageview)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user