Display correct title for edit dialog (new vs. edit)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user