Skip to content

🐛 Really set the shortcut for "New database" to Ctrl+Shift+N#515

Merged
TheZ3ro merged 2 commits intokeepassxreboot:developfrom
yan12125:fix-new-database-shortcut
Apr 21, 2017
Merged

🐛 Really set the shortcut for "New database" to Ctrl+Shift+N#515
TheZ3ro merged 2 commits intokeepassxreboot:developfrom
yan12125:fix-new-database-shortcut

Conversation

@yan12125
Copy link
Copy Markdown
Contributor

Description

In #316 the shortcut for "New database" may be unchanged on some platforms. Specificially, if a platform has QKeySequence::New, Ctrl+N will still be used. My patch fixes this by dropping the QKeySequence::New part.

Motivation and context

See #513

How has this been tested?

Build and check the menu.

Screenshots (if appropriate):

shortcut

Types of changes

  • ✅ Bug fix (non-breaking change which fixes an issue)

Checklist:

  • ✅ I have read the CONTRIBUTING document. [REQUIRED]
  • ✅ My code follows the code style of this project. [REQUIRED]
  • ✅ All new and existing tests passed. [REQUIRED]
  • ✅ I have compiled and verified my code with -DWITH_ASAN=ON. [REQUIRED]
  • My change requires a change to the documentation and I have updated it accordingly. (GUI changes only)
  • I have added tests to cover my changes. (GUI changes only)

@TheZ3ro
Copy link
Copy Markdown
Contributor

TheZ3ro commented Apr 20, 2017

I'm closing this since the bug is not critical and we are discussing #513 (comment) for a different implementation

@TheZ3ro TheZ3ro closed this Apr 20, 2017
@TheZ3ro
Copy link
Copy Markdown
Contributor

TheZ3ro commented Apr 20, 2017

Reopening (sorry for the trouble)

@TheZ3ro TheZ3ro reopened this Apr 20, 2017
Copy link
Copy Markdown
Contributor

@TheZ3ro TheZ3ro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 166 in MainWindow.cpp should become setShortcut(m_ui->actionEntryNew, QKeySequence::New, Qt::CTRL + Qt::Key_N); to support QKeySequence::New

@yan12125
Copy link
Copy Markdown
Contributor Author

Thanks! I've updated this PR.

@TheZ3ro TheZ3ro merged commit b01953a into keepassxreboot:develop Apr 21, 2017
@yan12125 yan12125 deleted the fix-new-database-shortcut branch April 21, 2017 09:05
@phoerious phoerious added this to the v2.2.0 milestone May 7, 2017
droidmonkey added a commit that referenced this pull request Jun 25, 2017
- Added YubiKey 2FA integration for unlocking databases [#127]
- Added TOTP support [#519]
- Added CSV import tool [#146, #490]
- Added KeePassXC CLI tool [#254]
- Added diceware password generator [#373]
- Added support for entry references [#370, #378]
- Added support for Twofish encryption [#167]
- Enabled DEP and ASLR for in-memory protection [#371]
- Enabled single instance mode [#510]
- Enabled portable mode [#645]
- Enabled database lock on screensaver and session lock [#545]
- Redesigned welcome screen with common features and recent databases [#292]
- Multiple updates to search behavior [#168, #213, #374, #471, #603, #654]
- Added auto-type fields {CLEARFIELD}, {SPACE}, {{}, {}} [#267, #427, #480]
- Fixed auto-type errors on Linux [#550]
- Prompt user prior to executing a cmd:// URL [#235]
- Entry attributes can be protected (hidden) [#220]
- Added extended ascii to password generator [#538]
- Added new database icon to toolbar [#289]
- Added context menu entry to empty recycle bin in databases [#520]
- Added "apply" button to entry and group edit windows [#624]
- Added macOS tray icon and enabled minimize on close [#583]
- Fixed issues with unclean shutdowns [#170, #580]
- Changed keyboard shortcut to create new database to CTRL+SHIFT+N [#515]
- Compare window title to entry URLs [#556]
- Implemented inline error messages [#162]
- Ignore group expansion and other minor changes when making database "dirty" [#464]
- Updated license and copyright information on souce files [#632]
- Added contributors list to about dialog [#629]
@phoerious phoerious added pr: bugfix Pull request fixes a bug and removed bug labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: bugfix Pull request fixes a bug user interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants