diff --git a/src/autotype/AutoType.cpp b/src/autotype/AutoType.cpp index 400527963..0d76e3de9 100644 --- a/src/autotype/AutoType.cpp +++ b/src/autotype/AutoType.cpp @@ -581,8 +581,8 @@ QList AutoType::createActionFromTemplate(const QString& tmpl, c //allows to insert usernames and passwords multiple times if (!list.isEmpty()) { for (int i = 1; i < num; i++) { - for (int i = 0; i < resolved.size(); i++) { - list.append(list.at(i)->clone()); + for (int j = 0; j < resolved.size(); j++) { + list.append(list.at(j)->clone()); } } }