qtDLGRegisters: add check for correctness of entering register value