ErrorDialog: Clear messages on close instead of hide

Fixes an issue where the error dialog is cleared because the hide event gets triggered.
This commit is contained in:
Jonas Kvinge
2023-08-07 19:38:48 +02:00
parent d1b4736ef9
commit bfb95d503a
3 changed files with 10 additions and 7 deletions

View File

@@ -75,7 +75,7 @@
<sender>buttonbox</sender>
<signal>accepted()</signal>
<receiver>ErrorDialog</receiver>
<slot>accept()</slot>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>299</x>
@@ -91,7 +91,7 @@
<sender>buttonbox</sender>
<signal>rejected()</signal>
<receiver>ErrorDialog</receiver>
<slot>reject()</slot>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>299</x>