Index: sources/gui/qml/dialogs/EndTreatmentDialog.qml =================================================================== diff -u -readb45e4b85520ef4b92d81bb1f6abb0ee19c61d -r0404b2da32acb3eaf8d41ef627dd51252c80e9ba --- sources/gui/qml/dialogs/EndTreatmentDialog.qml (.../EndTreatmentDialog.qml) (revision eadb45e4b85520ef4b92d81bb1f6abb0ee19c61d) +++ sources/gui/qml/dialogs/EndTreatmentDialog.qml (.../EndTreatmentDialog.qml) (revision 0404b2da32acb3eaf8d41ef627dd51252c80e9ba) @@ -51,4 +51,9 @@ } } } + + Connections { target: vTDTreatmentStates + function onTxEndChanged ( vValue ) { if ( ! vValue && _root.visible) { close() }} + } + }