Display correct title for edit dialog (new vs. edit)
This commit is contained in:
parent
d30b9c4bb9
commit
e78117f906
|
@ -338,7 +338,7 @@ void KeepassEntryView::editEntry(EntryViewItem* item){
|
||||||
IEntryHandle* handle = item->EntryHandle;
|
IEntryHandle* handle = item->EntryHandle;
|
||||||
CEntry old = handle->data();
|
CEntry old = handle->data();
|
||||||
|
|
||||||
CEditEntryDlg dlg(db,handle,this,true);
|
CEditEntryDlg dlg(db,handle,this,false);
|
||||||
int result = dlg.exec();
|
int result = dlg.exec();
|
||||||
switch(result){
|
switch(result){
|
||||||
case 0: //canceled or no changes
|
case 0: //canceled or no changes
|
||||||
|
|
Loading…
Reference in New Issue