mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 00:09:53 -05:00
MainWindow: move shortcuts from .cpp to .ui file (#10903)
* MainWindow: change Clone Entry shortcut to Ctrl+D from Ctrl+K * MainWindow: move shortcuts from .cpp to .ui file The only shortcuts defined in the .cpp file are ones that can't be defined in the .ui file, because they are in some way conditional. This also reduces the number of compiler warnings of the kind: warning: arithmetic between different enumeration types ‘Qt::Modifier’ and ‘Qt::Key’ is deprecated [-Wdeprecated-enum-enum-conversion] with recent GCC versions.
This commit is contained in:
parent
af2ba798a0
commit
6c02c74539
@ -61,14 +61,10 @@ void ActionCollection::setDefaultShortcut(QAction* action, const QKeySequence& s
|
|||||||
setDefaultShortcuts(action, {shortcut});
|
setDefaultShortcuts(action, {shortcut});
|
||||||
}
|
}
|
||||||
|
|
||||||
void ActionCollection::setDefaultShortcut(QAction* action,
|
void ActionCollection::setDefaultShortcut(QAction* action, QKeySequence::StandardKey standard)
|
||||||
QKeySequence::StandardKey standard,
|
|
||||||
const QKeySequence& fallback)
|
|
||||||
{
|
{
|
||||||
if (!QKeySequence::keyBindings(standard).isEmpty()) {
|
if (!QKeySequence::keyBindings(standard).isEmpty()) {
|
||||||
setDefaultShortcuts(action, QKeySequence::keyBindings(standard));
|
setDefaultShortcuts(action, QKeySequence::keyBindings(standard));
|
||||||
} else if (fallback != 0) {
|
|
||||||
setDefaultShortcut(action, QKeySequence(fallback));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ public:
|
|||||||
QList<QKeySequence> defaultShortcuts(const QAction* a) const;
|
QList<QKeySequence> defaultShortcuts(const QAction* a) const;
|
||||||
|
|
||||||
void setDefaultShortcut(QAction* a, const QKeySequence& shortcut);
|
void setDefaultShortcut(QAction* a, const QKeySequence& shortcut);
|
||||||
void setDefaultShortcut(QAction* a, QKeySequence::StandardKey standard, const QKeySequence& fallback);
|
void setDefaultShortcut(QAction* a, QKeySequence::StandardKey standard);
|
||||||
void setDefaultShortcuts(QAction* a, const QList<QKeySequence>& shortcut);
|
void setDefaultShortcuts(QAction* a, const QList<QKeySequence>& shortcut);
|
||||||
|
|
||||||
// Check if any action conflicts with @p seq and return the conflicting action
|
// Check if any action conflicts with @p seq and return the conflicting action
|
||||||
|
@ -992,7 +992,7 @@ void MainWindow::setMenuActionState(DatabaseWidget::Mode mode)
|
|||||||
case DatabaseWidget::Mode::LockedMode: {
|
case DatabaseWidget::Mode::LockedMode: {
|
||||||
// Enable select actions when editing an entry
|
// Enable select actions when editing an entry
|
||||||
bool editEntryActive = dbWidget->isEntryEditActive();
|
bool editEntryActive = dbWidget->isEntryEditActive();
|
||||||
const auto editEntryActionsMask = QList<QAction*>({m_ui->actionEntryCopyUsername,
|
const QList<QAction*> editEntryActionsMask{m_ui->actionEntryCopyUsername,
|
||||||
m_ui->actionEntryCopyPassword,
|
m_ui->actionEntryCopyPassword,
|
||||||
m_ui->actionEntryCopyURL,
|
m_ui->actionEntryCopyURL,
|
||||||
m_ui->actionEntryOpenUrl,
|
m_ui->actionEntryOpenUrl,
|
||||||
@ -1002,7 +1002,7 @@ void MainWindow::setMenuActionState(DatabaseWidget::Mode mode)
|
|||||||
m_ui->actionEntryCopyTitle,
|
m_ui->actionEntryCopyTitle,
|
||||||
m_ui->menuEntryCopyAttribute->menuAction(),
|
m_ui->menuEntryCopyAttribute->menuAction(),
|
||||||
m_ui->menuEntryTotp->menuAction(),
|
m_ui->menuEntryTotp->menuAction(),
|
||||||
m_ui->actionEntrySetupTotp});
|
m_ui->actionEntrySetupTotp};
|
||||||
|
|
||||||
auto entryActions = m_ui->menuEntries->actions();
|
auto entryActions = m_ui->menuEntries->actions();
|
||||||
entryActions << m_ui->menuEntryCopyAttribute->actions();
|
entryActions << m_ui->menuEntryCopyAttribute->actions();
|
||||||
@ -2190,55 +2190,30 @@ void MainWindow::initActionCollection()
|
|||||||
m_ui->actionBugReport,
|
m_ui->actionBugReport,
|
||||||
m_ui->actionAbout});
|
m_ui->actionAbout});
|
||||||
|
|
||||||
// Add actions whose shortcuts were set in the .ui file
|
// Register as default any shortcuts that were set in the .ui file
|
||||||
for (const auto action : ac->actions()) {
|
for (const auto action : ac->actions()) {
|
||||||
if (!action->shortcut().isEmpty()) {
|
if (!action->shortcut().isEmpty()) {
|
||||||
ac->setDefaultShortcut(action, action->shortcut());
|
ac->setDefaultShortcut(action, action->shortcut());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Actions with standard shortcuts
|
// Actions with standard shortcuts (if no standard shortcut exists, leave the existing
|
||||||
ac->setDefaultShortcut(m_ui->actionDatabaseOpen, QKeySequence::Open, Qt::CTRL + Qt::Key_O);
|
// shortcuts from the .ui file in place)
|
||||||
ac->setDefaultShortcut(m_ui->actionDatabaseSave, QKeySequence::Save, Qt::CTRL + Qt::Key_S);
|
ac->setDefaultShortcut(m_ui->actionDatabaseOpen, QKeySequence::Open);
|
||||||
ac->setDefaultShortcut(m_ui->actionDatabaseSaveAs, QKeySequence::SaveAs, Qt::CTRL + Qt::SHIFT + Qt::Key_S);
|
ac->setDefaultShortcut(m_ui->actionDatabaseSave, QKeySequence::Save);
|
||||||
ac->setDefaultShortcut(m_ui->actionDatabaseClose, QKeySequence::Close, Qt::CTRL + Qt::Key_W);
|
ac->setDefaultShortcut(m_ui->actionDatabaseSaveAs, QKeySequence::SaveAs);
|
||||||
ac->setDefaultShortcut(m_ui->actionSettings, QKeySequence::Preferences, Qt::CTRL + Qt::Key_Comma);
|
ac->setDefaultShortcut(m_ui->actionDatabaseClose, QKeySequence::Close);
|
||||||
ac->setDefaultShortcut(m_ui->actionQuit, QKeySequence::Quit, Qt::CTRL + Qt::Key_Q);
|
ac->setDefaultShortcut(m_ui->actionSettings, QKeySequence::Preferences);
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryNew, QKeySequence::New, Qt::CTRL + Qt::Key_N);
|
ac->setDefaultShortcut(m_ui->actionQuit, QKeySequence::Quit);
|
||||||
|
ac->setDefaultShortcut(m_ui->actionEntryNew, QKeySequence::New);
|
||||||
|
|
||||||
// Prevent conflicts with global Mac shortcuts (force Control on all platforms)
|
// Prevent conflicts with global Mac shortcuts (force Control on all platforms)
|
||||||
|
// Note: Qt::META means Ctrl on Mac.
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
auto modifier = Qt::META;
|
ac->setDefaultShortcut(m_ui->actionEntryAddToAgent, Qt::META + Qt::Key_H);
|
||||||
#else
|
ac->setDefaultShortcut(m_ui->actionEntryRemoveFromAgent, Qt::META + Qt::SHIFT + Qt::Key_H);
|
||||||
auto modifier = Qt::CTRL;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// All other actions with default shortcuts
|
|
||||||
ac->setDefaultShortcut(m_ui->actionDatabaseNew, Qt::CTRL + Qt::SHIFT + Qt::Key_N);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionDatabaseSettings, Qt::CTRL + Qt::SHIFT + Qt::Key_Comma);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionReports, Qt::CTRL + Qt::SHIFT + Qt::Key_R);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionLockDatabase, Qt::CTRL + Qt::Key_L);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionLockAllDatabases, Qt::CTRL + Qt::SHIFT + Qt::Key_L);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryEdit, Qt::CTRL + Qt::Key_E);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryDelete, Qt::CTRL + Qt::Key_D);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryDelete, Qt::Key_Delete);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryClone, Qt::CTRL + Qt::Key_K);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryTotp, Qt::CTRL + Qt::SHIFT + Qt::Key_T);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryDownloadIcon, Qt::CTRL + Qt::SHIFT + Qt::Key_D);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryCopyTotp, Qt::CTRL + Qt::Key_T);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryCopyPasswordTotp, Qt::CTRL + Qt::Key_Y);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryMoveUp, Qt::CTRL + Qt::ALT + Qt::Key_Up);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryMoveDown, Qt::CTRL + Qt::ALT + Qt::Key_Down);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryCopyUsername, Qt::CTRL + Qt::Key_B);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryCopyPassword, Qt::CTRL + Qt::Key_C);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryCopyTitle, Qt::CTRL + Qt::Key_I);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryAutoTypeSequence, Qt::CTRL + Qt::SHIFT + Qt::Key_V);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryOpenUrl, Qt::CTRL + Qt::SHIFT + Qt::Key_U);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryCopyURL, Qt::CTRL + Qt::Key_U);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryRestore, Qt::CTRL + Qt::Key_R);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryAddToAgent, modifier + Qt::Key_H);
|
|
||||||
ac->setDefaultShortcut(m_ui->actionEntryRemoveFromAgent, modifier + Qt::SHIFT + Qt::Key_H);
|
|
||||||
|
|
||||||
QTimer::singleShot(1, ac, &ActionCollection::restoreShortcuts);
|
QTimer::singleShot(1, ac, &ActionCollection::restoreShortcuts);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -447,6 +447,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Quit Application</string>
|
<string>Quit Application</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+Q</string>
|
||||||
|
</property>
|
||||||
<property name="menuRole">
|
<property name="menuRole">
|
||||||
<enum>QAction::QuitRole</enum>
|
<enum>QAction::QuitRole</enum>
|
||||||
</property>
|
</property>
|
||||||
@ -477,6 +480,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Open Database</string>
|
<string>Open Database</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+O</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionDatabaseSave">
|
<action name="actionDatabaseSave">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -485,6 +491,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Save Database</string>
|
<string>&Save Database</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+S</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionDatabaseClose">
|
<action name="actionDatabaseClose">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -493,6 +502,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Close Database</string>
|
<string>&Close Database</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+W</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionDatabaseNew">
|
<action name="actionDatabaseNew">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -501,6 +513,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Create Database</string>
|
<string>Create Database</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+Shift+N</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionDatabaseMerge">
|
<action name="actionDatabaseMerge">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -520,6 +535,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Create Entry</string>
|
<string>Create Entry</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+N</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryEdit">
|
<action name="actionEntryEdit">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -531,6 +549,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Edit Entry</string>
|
<string>Edit Entry</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+E</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryDelete">
|
<action name="actionEntryDelete">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -542,6 +563,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Delete Entry</string>
|
<string>Delete Entry</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Del</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionGroupNew">
|
<action name="actionGroupNew">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -619,6 +643,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Save Database As</string>
|
<string>Save Database As</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+Shift+S</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionDatabaseSecurity">
|
<action name="actionDatabaseSecurity">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -641,6 +668,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Show Database Reports</string>
|
<string>Show Database Reports</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+Shift+R</string>
|
||||||
|
</property>
|
||||||
<property name="menuRole">
|
<property name="menuRole">
|
||||||
<enum>QAction::NoRole</enum>
|
<enum>QAction::NoRole</enum>
|
||||||
</property>
|
</property>
|
||||||
@ -655,6 +685,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Show Database Settings</string>
|
<string>Show Database Settings</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+Shift+,</string>
|
||||||
|
</property>
|
||||||
<property name="menuRole">
|
<property name="menuRole">
|
||||||
<enum>QAction::NoRole</enum>
|
<enum>QAction::NoRole</enum>
|
||||||
</property>
|
</property>
|
||||||
@ -697,6 +730,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Clone Entry</string>
|
<string>Clone Entry</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+D</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryMoveUp">
|
<action name="actionEntryMoveUp">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -708,6 +744,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Move Entry Up</string>
|
<string>Move Entry Up</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Alt+Up</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryMoveDown">
|
<action name="actionEntryMoveDown">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -719,6 +758,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Move Entry Down</string>
|
<string>Move Entry Down</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Alt+Down</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryCopyUsername">
|
<action name="actionEntryCopyUsername">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -730,6 +772,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Copy Username</string>
|
<string>Copy Username</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+B</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryCopyPassword">
|
<action name="actionEntryCopyPassword">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -741,6 +786,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Copy Password</string>
|
<string>Copy Password</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+C</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionSettings">
|
<action name="actionSettings">
|
||||||
<property name="checkable">
|
<property name="checkable">
|
||||||
@ -752,6 +800,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Show Application Settings</string>
|
<string>Show Application Settings</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+,</string>
|
||||||
|
</property>
|
||||||
<property name="menuRole">
|
<property name="menuRole">
|
||||||
<enum>QAction::PreferencesRole</enum>
|
<enum>QAction::PreferencesRole</enum>
|
||||||
</property>
|
</property>
|
||||||
@ -865,6 +916,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Download &Favicon</string>
|
<string>Download &Favicon</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+Shift+D</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryOpenUrl">
|
<action name="actionEntryOpenUrl">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -873,6 +927,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Open &URL</string>
|
<string>Open &URL</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+Shift+U</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionLockDatabase">
|
<action name="actionLockDatabase">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -881,6 +938,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Lock Database</string>
|
<string>&Lock Database</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+L</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionLockAllDatabases">
|
<action name="actionLockAllDatabases">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -889,6 +949,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Lock &All Databases</string>
|
<string>Lock &All Databases</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+Shift+L</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryCopyTitle">
|
<action name="actionEntryCopyTitle">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -900,6 +963,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Copy Title</string>
|
<string>Copy Title</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+I</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryCopyURL">
|
<action name="actionEntryCopyURL">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -911,6 +977,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Copy URL</string>
|
<string>Copy URL</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+U</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryCopyNotes">
|
<action name="actionEntryCopyNotes">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -973,6 +1042,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Show TOTP</string>
|
<string>Show TOTP</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+Shift+T</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryTotpQRCode">
|
<action name="actionEntryTotpQRCode">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -994,11 +1066,17 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Copy &TOTP</string>
|
<string>Copy &TOTP</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+T</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryCopyPasswordTotp">
|
<action name="actionEntryCopyPasswordTotp">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Copy Password and TOTP</string>
|
<string>Copy Password and TOTP</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+Y</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionGroupEmptyRecycleBin">
|
<action name="actionGroupEmptyRecycleBin">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -1080,6 +1158,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>SSH Agent: Add Key</string>
|
<string>SSH Agent: Add Key</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+H</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEntryRemoveFromAgent">
|
<action name="actionEntryRemoveFromAgent">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -1088,6 +1169,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>SSH Agent: Remove Key</string>
|
<string>SSH Agent: Remove Key</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+Shift+H</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionCompactMode">
|
<action name="actionCompactMode">
|
||||||
<property name="checkable">
|
<property name="checkable">
|
||||||
@ -1244,6 +1328,9 @@
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string notr="true">Perform Auto-Type: Entry Default</string>
|
<string notr="true">Perform Auto-Type: Entry Default</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string notr="true">Ctrl+Shift+V</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionGroupClone">
|
<action name="actionGroupClone">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
|
Loading…
Reference in New Issue
Block a user