Files
create/src/Gui
tetektoza 564e79b890 Gui: Don't use this pointer after valueChanged in EditableDatumLabel
Simple fix for such a simple error I didn't see. Basically,
`valueChanged` signal can result in EditableDatumLabel being deleted
(for example, when we are on the last OVP and all of the OVPs have been
accepted). This could result in crashes as reported in previous issues,
because just after emitting this signal we were trying to use `this` pointer,
which wasn't available anymore as we deleted EditableDatumLabel obj that
was attached to it, so in essence we were dereferencing some random
address.

Fix for that is simple - move the check for `hasFinishedEditing` flag to
check locked appearance in `validateAndFinish` lambda, as it already
does validation and this way we will avoid referencing internals (which
could be deallocated) after emitting this signal.
2025-08-19 19:33:20 -05:00
..
2025-08-18 17:55:24 +02:00
2025-07-14 10:18:04 +02:00
2024-05-01 09:47:33 +02:00
2025-02-15 13:33:32 -06:00
2025-01-22 06:12:43 -06:00
2023-08-04 17:09:53 +02:00
2024-02-16 21:38:42 -06:00
2025-06-23 19:29:11 +02:00
2025-06-23 19:29:11 +02:00
2025-08-07 12:11:14 +02:00
2023-09-14 13:24:24 +02:00
2023-07-15 11:17:45 +02:00
2025-02-15 13:33:32 -06:00
2025-02-25 23:03:51 +00:00
2025-02-25 23:03:51 +00:00
2025-01-13 11:22:20 -06:00
2025-02-10 18:34:57 +01:00
2025-02-25 23:03:51 +00:00
2024-02-26 17:38:01 +01:00
2024-07-11 17:39:23 +02:00
2025-02-15 13:33:32 -06:00
2025-01-13 11:22:20 -06:00
2025-03-02 22:59:30 -06:00
2025-02-17 21:10:26 +01:00
2025-03-20 14:23:36 +01:00
2024-11-12 07:59:44 +01:00
2025-01-13 11:22:20 -06:00
2025-02-10 18:34:57 +01:00
2025-02-15 13:33:32 -06:00
2025-07-16 21:55:52 -05:00
2025-01-13 11:22:20 -06:00
2024-03-26 15:57:20 +01:00
2025-08-08 06:37:59 -05:00
2024-02-21 16:19:32 +01:00
2023-10-23 18:07:07 +02:00
2023-08-04 17:09:53 +02:00
2025-07-08 17:59:51 +05:30
2025-03-29 14:14:04 -05:00
2025-02-05 22:13:07 +00:00
2025-01-02 13:27:54 +01:00
2025-07-14 10:18:04 +02:00
2025-07-14 10:18:04 +02:00
2025-01-13 11:22:20 -06:00
2025-02-10 18:34:57 +01:00