fix(ui/CustomCommands): memory corruption in labelPostExitCmd

Making a QLabel a buddy of itself causes a double free and crashing on
deconstruction in some cases (like MSVC)

Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
Seth Flynn 2025-07-03 01:15:29 -04:00
parent ae9d0b2d6b
commit 56fa6586ab
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86

View file

@ -86,7 +86,7 @@
<string>P&amp;ost-exit Command</string>
</property>
<property name="buddy">
<cstring>labelPostExitCmd</cstring>
<cstring>postExitCmdTextBox</cstring>
</property>
</widget>
</item>