mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-12 07:49:55 -05:00
Fix Ctrl+Tab shortcut to cycle databases in unlock dialog (#8839)
This commit is contained in:
parent
2d6f2f7895
commit
c410c380f6
@ -68,13 +68,13 @@ DatabaseOpenDialog::DatabaseOpenDialog(QWidget* parent)
|
||||
auto* shortcut = new QShortcut(Qt::CTRL + Qt::Key_PageUp, this);
|
||||
shortcut->setContext(Qt::WidgetWithChildrenShortcut);
|
||||
connect(shortcut, &QShortcut::activated, this, [this]() { selectTabOffset(-1); });
|
||||
shortcut = new QShortcut(dbTabModifier + Qt::Key_Tab, this);
|
||||
shortcut = new QShortcut(dbTabModifier + Qt::SHIFT + Qt::Key_Tab, this);
|
||||
shortcut->setContext(Qt::WidgetWithChildrenShortcut);
|
||||
connect(shortcut, &QShortcut::activated, this, [this]() { selectTabOffset(-1); });
|
||||
shortcut = new QShortcut(Qt::CTRL + Qt::Key_PageDown, this);
|
||||
shortcut->setContext(Qt::WidgetWithChildrenShortcut);
|
||||
connect(shortcut, &QShortcut::activated, this, [this]() { selectTabOffset(1); });
|
||||
shortcut = new QShortcut(dbTabModifier + Qt::SHIFT + Qt::Key_Tab, this);
|
||||
shortcut = new QShortcut(dbTabModifier + Qt::Key_Tab, this);
|
||||
shortcut->setContext(Qt::WidgetWithChildrenShortcut);
|
||||
connect(shortcut, &QShortcut::activated, this, [this]() { selectTabOffset(1); });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user