mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-17 13:02:49 -05:00
Adding second prompt for merge.
This commit is contained in:
parent
cf23343911
commit
fd9d372e6a
@ -52,7 +52,7 @@ int Merge::execute(int argc, char** argv)
|
|||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
out << "Insert the database password\n> ";
|
out << "Insert the first database password\n> ";
|
||||||
out.flush();
|
out.flush();
|
||||||
|
|
||||||
static QTextStream inputTextStream(stdin, QIODevice::ReadOnly);
|
static QTextStream inputTextStream(stdin, QIODevice::ReadOnly);
|
||||||
@ -64,6 +64,8 @@ int Merge::execute(int argc, char** argv)
|
|||||||
key2 = *key1.clone();
|
key2 = *key1.clone();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
out << "Insert the second database password\n> ";
|
||||||
|
out.flush();
|
||||||
QString line2 = inputTextStream.readLine();
|
QString line2 = inputTextStream.readLine();
|
||||||
key2 = CompositeKey::readFromLine(line2);
|
key2 = CompositeKey::readFromLine(line2);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user