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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user