TargetWindowDlg: Use the current text instead of the original window title

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@325 b624d157-de02-0410-bad0-e51aec6abb33
master
sniperbeamer 16 years ago
parent 049ea5e5a2
commit 21fe83bb82
  1. 2
      src/dialogs/TargetWindowDlg.cpp

@ -32,6 +32,6 @@ TargetWindowDlg::TargetWindowDlg(QWidget* parent) : QDialog(parent){
}
void TargetWindowDlg::OnAccept(){
pWindowTitle = comboWindow->itemText(comboWindow->currentIndex());
pWindowTitle = comboWindow->currentText();
accept();
}