forked from qt-creator/qt-creator
Fixed a bunch of accelerator keys in the File menu
There were three missing and one duplicate. Committed to master since 1.3 is currently in a hard string freeze. Task-number: QTCREATORBUG-261 Task-number: QTCREATORBUG-262 Task-number: QTCREATORBUG-263 Task-number: QTCREATORBUG-264
This commit is contained in:
@@ -575,7 +575,7 @@ void MainWindow::registerDefaultActions()
|
||||
connect(m_openAction, SIGNAL(triggered()), this, SLOT(openFile()));
|
||||
|
||||
// Open With Action
|
||||
m_openWithAction = new QAction(tr("&Open File With..."), this);
|
||||
m_openWithAction = new QAction(tr("Open File &With..."), this);
|
||||
cmd = am->registerAction(m_openWithAction, Constants::OPEN_WITH, m_globalContext);
|
||||
mfile->addAction(cmd, Constants::G_FILE_OPEN);
|
||||
connect(m_openWithAction, SIGNAL(triggered()), this, SLOT(openFileWith()));
|
||||
@@ -583,7 +583,7 @@ void MainWindow::registerDefaultActions()
|
||||
// File->Recent Files Menu
|
||||
ActionContainer *ac = am->createMenu(Constants::M_FILE_RECENTFILES);
|
||||
mfile->addMenu(ac, Constants::G_FILE_OPEN);
|
||||
ac->menu()->setTitle(tr("Recent Files"));
|
||||
ac->menu()->setTitle(tr("Recent &Files"));
|
||||
|
||||
// Save Action
|
||||
QAction *tmpaction = new QAction(QIcon(Constants::ICON_SAVEFILE), tr("&Save"), this);
|
||||
|
||||
Reference in New Issue
Block a user