mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-24 15:25:31 -04:00
Add Autotype on Windows and MacOS (#63)
* Add Autotype on Windows, including Windows 10 * Add MacOS autotype, fix macdeployqt build * Make QT_BINARY_DIR overwritable at compile time
This commit is contained in:
parent
e25cd9ba48
commit
753b9c9e67
19 changed files with 1454 additions and 9 deletions
|
@ -55,6 +55,10 @@ void EntryView::keyPressEvent(QKeyEvent* event)
|
|||
{
|
||||
if ((event->key() == Qt::Key_Enter || event->key() == Qt::Key_Return) && currentIndex().isValid()) {
|
||||
emitEntryActivated(currentIndex());
|
||||
#ifdef Q_OS_MAC
|
||||
// Pressing return does not emit the QTreeView::activated signal on mac os
|
||||
Q_EMIT activated(currentIndex());
|
||||
#endif
|
||||
}
|
||||
|
||||
QTreeView::keyPressEvent(event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue