Fixed crash when generating password for new entry

This commit is contained in:
Aslan2142 2020-02-29 00:40:09 +01:00
parent c49411471b
commit e133b5fa70
7 changed files with 6 additions and 6 deletions

View file

@ -148,6 +148,7 @@ void passman::clear_database()
std::array<QString, 4> passman::get_entry_copy(int index) const
{
std::cout << decrypted_entries.size() << std::endl;
return decrypted_entries[static_cast<ulong>(index)];
}