mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-06 06:19:52 +08:00
MdEditor: add shortcut hint to Toggle Live Preview
This commit is contained in:
parent
68dd95591d
commit
b49d5a968f
@ -384,6 +384,7 @@ void VMdEditor::contextMenuEvent(QContextMenuEvent *p_event)
|
||||
|
||||
QAction *toggleLivePreviewAct = new QAction(tr("Live Preview For Graphs"), menu.data());
|
||||
toggleLivePreviewAct->setToolTip(tr("Toggle live preview panel for graphs"));
|
||||
VUtils::fixTextWithCaptainShortcut(toggleLivePreviewAct, "LivePreview");
|
||||
connect(toggleLivePreviewAct, &QAction::triggered,
|
||||
this, [this]() {
|
||||
m_editTab->toggleLivePreview();
|
||||
|
Loading…
x
Reference in New Issue
Block a user