ui: Shortcut for Preferences on Linux/Windows
This commit is contained in:
@@ -576,7 +576,12 @@ void QtMainWindow::setupEditMenu()
|
||||
}
|
||||
else
|
||||
{
|
||||
menu->addAction(tr("&Force Refresh"), this, SLOT(forceRefresh()), QKeySequence(Qt::SHIFT + Qt::CTRL + Qt::Key_R));
|
||||
menu->addAction(
|
||||
tr("&Force Refresh"),
|
||||
this,
|
||||
SLOT(forceRefresh()),
|
||||
QKeySequence(Qt::SHIFT + Qt::CTRL + Qt::Key_R)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -591,7 +596,7 @@ void QtMainWindow::setupEditMenu()
|
||||
|
||||
menu->addSeparator();
|
||||
|
||||
menu->addAction(tr("Preferences..."), this, SLOT(openSettings()));
|
||||
menu->addAction(tr("Preferences..."), this, SLOT(openSettings()), QKeySequence(Qt::CTRL + Qt::Key_Comma));
|
||||
}
|
||||
|
||||
void QtMainWindow::setupViewMenu()
|
||||
|
||||
@@ -1046,9 +1046,9 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">Preferences</th>
|
||||
<td></td>
|
||||
<td><kbd>Ctrl + ,</kbd></td>
|
||||
<td><kbd>Cmd + ,</kbd></td>
|
||||
<td></td>
|
||||
<td><kbd>Ctrl + ,</kbd></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">New Project</th>
|
||||
|
||||
Reference in New Issue
Block a user