add hints about auto-save

This commit is contained in:
Le Tan 2019-05-31 19:47:44 +08:00
parent b02b9d711b
commit 72748bb5c0

View File

@ -707,14 +707,15 @@ VReadEditTab::VReadEditTab(VSettingsDialog *p_dlg, QWidget *p_parent)
m_flashAnchor->setToolTip(tr("Flash current heading on change")); m_flashAnchor->setToolTip(tr("Flash current heading on change"));
// Swap file. // Swap file.
m_swapFile = new QCheckBox(tr("Swap file")); m_swapFile = new QCheckBox(tr("Swap file (Recommended)"));
m_swapFile->setToolTip(tr("Automatically save changes to a swap file for backup")); m_swapFile->setToolTip(tr("Automatically save changes to a swap file for backup"));
connect(m_swapFile, &QCheckBox::stateChanged, connect(m_swapFile, &QCheckBox::stateChanged,
this, &VReadEditTab::showTipsAboutAutoSave); this, &VReadEditTab::showTipsAboutAutoSave);
// Auto save. // Auto save.
m_autoSave = new QCheckBox(tr("Auto save")); m_autoSave = new QCheckBox(tr("Auto save (Buggy)"));
m_autoSave->setToolTip(tr("Automatically save the note when editing")); m_autoSave->setToolTip(tr("Automatically save the note when editing"
" (may DELETE images on save)"));
connect(m_autoSave, &QCheckBox::stateChanged, connect(m_autoSave, &QCheckBox::stateChanged,
this, &VReadEditTab::showTipsAboutAutoSave); this, &VReadEditTab::showTipsAboutAutoSave);