Solved Anyway to setText on QLineEdit without emitting signals?
-
Is there a way to call setText on instances of QLineEdit that will not trigger emission of signals?
-
Hi,
-
@SPlatten , replaced with call to QLineEdit::textEdited, no difference.
-
Hi,
-
@SPlatten said in Anyway to setText on QLineEdit without emitting signals?:
@SPlatten , replaced with call to QLineEdit::textEdited, no difference
I'm not sure what that means, but
setText()
should not causetextEdited()
signal, onlytextChanged()
. That's supposed to suffice for most scenarios. If you really want more than that then @SGaist 'sQSignalBlocker
. -