I suggest to use: lineEdit.setValidator(QtGui.QIntValidator(0, 99999, self)) This makes the same job but doesn't separate the field in five discrete fields. It feels more natural. -- https://code.launchpad.net/~trb143/openlp/bugs/+merge/43009 Your team OpenLP Core is subscribed to branch lp:openlp.
_______________________________________________ Mailing list: https://launchpad.net/~openlp-core Post to : [email protected] Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp

