Commit 691f95b0 authored by hjk's avatar hjk
Browse files

openeditorsview: add double quotes around file names in context menu

parent cdfbf4bb
......@@ -208,10 +208,10 @@ void OpenEditorsWidget::contextMenuRequested(QPoint pos)
const QModelIndex index = m_ui.editorList->indexAt(pos);
QMenu contextMenu;
QAction *closeEditor = contextMenu.addAction(
index.isValid() ? tr("Close %1").arg(index.data().toString())
index.isValid() ? tr("Close \"%1\"").arg(index.data().toString())
: tr("Close Editor"));
QAction *closeOtherEditors = contextMenu.addAction(
index.isValid() ? tr("Close All Except %1").arg(index.data().toString())
index.isValid() ? tr("Close All Except \"%1\"").arg(index.data().toString())
: tr("Close Other Editors"));
QAction *closeAllEditors = contextMenu.addAction(tr("Close All Editors"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment