diff --git a/src/autotype/AutoType.cpp b/src/autotype/AutoType.cpp index 299299b8c8..80a2268ec3 100644 --- a/src/autotype/AutoType.cpp +++ b/src/autotype/AutoType.cpp @@ -588,12 +588,12 @@ QList AutoType::createActionFromTemplate(const QString& tmpl, c QList AutoType::autoTypeSequences(const Entry* entry, const QString& windowTitle) { QList sequenceList; + const Group* group = entry->group(); - if (!entry->autoTypeEnabled()) { + if (!group || !entry->autoTypeEnabled()) { return sequenceList; } - const Group* group = entry->group(); do { if (group->autoTypeEnabled() == Group::Disable) { return sequenceList;