Avoid using previous password when creating new file in Qt Quick GUI
This commit is contained in:
parent
1c6230dbeb
commit
b98483ca34
|
@ -157,6 +157,7 @@ void Controller::create()
|
|||
|
||||
m_file.generateRootEntry();
|
||||
m_entryModel.setRootEntry(m_file.rootEntry());
|
||||
m_password.clear(); // avoid using the password of previously opened file
|
||||
setFileOpen(true);
|
||||
updateWindowTitle();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue