This commit is contained in:
Le Tan 2018-01-29 22:10:26 +08:00
parent 17b5ac5f66
commit 8013753315

View File

@ -1209,7 +1209,7 @@ void VMainWindow::initEditMenu()
this, &VMainWindow::changeHighlightSelectedWord); this, &VMainWindow::changeHighlightSelectedWord);
// Highlight trailing space. // Highlight trailing space.
QAction *trailingSapceAct = new QAction(tr("Highlight Trailing Sapces"), this); QAction *trailingSapceAct = new QAction(tr("Highlight Trailing Spaces"), this);
trailingSapceAct->setToolTip(tr("Highlight all the spaces at the end of a line")); trailingSapceAct->setToolTip(tr("Highlight all the spaces at the end of a line"));
trailingSapceAct->setCheckable(true); trailingSapceAct->setCheckable(true);
connect(trailingSapceAct, &QAction::triggered, connect(trailingSapceAct, &QAction::triggered,