Display correct title for edit dialog (new vs. edit)

master
Thomas Hooge 7 years ago
parent d30b9c4bb9
commit e78117f906
  1. 2
      src/lib/EntryView.cpp

@ -338,7 +338,7 @@ void KeepassEntryView::editEntry(EntryViewItem* item){
IEntryHandle* handle = item->EntryHandle;
CEntry old = handle->data();
CEditEntryDlg dlg(db,handle,this,true);
CEditEntryDlg dlg(db,handle,this,false);
int result = dlg.exec();
switch(result){
case 0: //canceled or no changes