From 393017cf3bc58f49e43b52b8701f98296a087df2 Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 16 May 2017 10:54:15 +0200 Subject: [PATCH] fix for loops now have diffrent variables. dont know why it worked before --- src/autotype/AutoType.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } } }