On 29/11/2016 8:54 AM, Robert Buchinger wrote:
On Dienstag, 29. November 2016 08:48:11 CET Duane wrote:
Qt 5.7  - MinGW 5.3.0 - Windows 7

When pressing the enter key, editingFinished() fires twice.  When the
line edit loses scope it works correctly.  Is this a known bug?  Is
there a workaround?


_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Hi

hard to say without any code (sniplet).

Do you have any eventFilters installed for the QLineEdit that catch the Enter
key?

best regards




There's not much code.  It's a line edit on a ui with a connection:


connect(CarurizingRecipeHeader.NameValue,SIGNAL(editingFinished()),this,SLOT( NameValueEditingFinished()));

In this case, the NameValueEditingFinished() slot only has a qDebug in it.


On loss of scope it fires once.  On return pressed is fires twice.



_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to