Fixed: custom icons get lost on restart (Closes #1995561)

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@208 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
sniperbeamer
2008-06-24 17:56:02 +00:00
parent 90d515f6e7
commit dc43c39ece
2 changed files with 9 additions and 4 deletions

View File

@@ -220,6 +220,7 @@ void CEditEntryDlg::OnButtonOK()
}
// MX-COMMENT: Should not this line go inside the if(Modflag) block?
entry->setImage(IconIndex);
entry->setOldImage(IconIndex);
if(ModFlag&&EntryMoved)done(2);
else if(ModFlag)done(1);