I have a QDateTimeField
with mask set as HH:mm
Consider a scenario where user deletes (for example) hour section like this:
If user empties the hour section and subsequently press enter, hour section resets to 00 (which is the expected behavior, always).
If user empties the hour section and just click somewhere else (when QDateTimeField
loses it's focus), hour section remains empty, which is my problem.
Can anyone hint me with a way to tackle this problem?