1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-24 20:27:22 +01:00

fixes #1914 Address table object file name is not created properly if user clicks outside Editor panel

This commit is contained in:
Vadim Kurland 2011-02-07 17:50:22 -08:00
parent ee1ed26c14
commit 87c8fcb2ac
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2011-02-07 Vadim Kurland <vadim@netcitadel.com>
* AddressTableDialog.cpp (browse): fixes #1914 "Address table
object file name is not created properly if user clicks outside
Editor panel"
2011-02-06 vadim <vadim@netcitadel.com>
* SSHUnx.cpp (SSHUnx): fixes #2049 "Installer reports success even

View File

@ -162,6 +162,11 @@ void AddressTableDialog::browse()
if (!s.isEmpty())
{
m_dialog->filename->setText(s);
// assign focus to the "file name" input field so that it
// generates signal editFinished when user clicks
// elsewhere. We use this signal to call changed() which in
// turn calls applyChanges() to save data
m_dialog->filename->setFocus(Qt::OtherFocusReason);
}
}
void AddressTableDialog::preview( void )