mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +08:00
MarkdownViewWindow: fix view mode
This commit is contained in:
parent
258adf10da
commit
6884e1ff6a
@ -67,7 +67,7 @@ void AppearancePage::setupUI()
|
||||
this, &AppearancePage::pageIsChanged);
|
||||
}
|
||||
|
||||
const QString label(tr("Keep dock widgets when expanding content area:"));
|
||||
const QString label(tr("Dock widgets kept when expanding content area:"));
|
||||
mainLayout->addRow(label, layout);
|
||||
addSearchItem(label, label, m_keepDocksExpandingContentArea.first().first);
|
||||
}
|
||||
|
@ -152,6 +152,8 @@ void MarkdownViewWindow::setModeInternal(ViewWindowMode p_mode, bool p_syncBuffe
|
||||
m_editor->show();
|
||||
|
||||
setEditViewMode(ConfigMgr::getInst().getEditorConfig().getMarkdownEditorConfig().getEditViewMode());
|
||||
} else {
|
||||
setEditViewMode(m_editViewMode);
|
||||
}
|
||||
|
||||
// Avoid focus glitch.
|
||||
|
Loading…
x
Reference in New Issue
Block a user