From 6c0a0d70305cd6e12260a352099e74d34f3c239e Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Tue, 27 Feb 2018 14:44:39 +0100 Subject: Fix QValidator fixup() behavior The return value from the fixup() method was ignored leaving an Intermediate or Invalid input intact. This was solved injecting code to the native wrapper for the fixup() method that allows to change its value. A test case is provided. Task-number: PYSIDE-106 Change-Id: I1d796955178dbdbcfff90adb6ede5c8b2dd1acc3 Reviewed-by: Friedemann Kleint Reviewed-by: Alexandru Croitor --- sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml') diff --git a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml index 55bc438be..2578a1aa9 100644 --- a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml +++ b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml @@ -1713,6 +1713,9 @@ + + + -- cgit v1.2.3