Index: sources/gui/qml/components/USBButton.qml =================================================================== diff -u -rfa8a24789926622048cdd480ea48abd9596c03b3 -r5e0731af5ae5e11d3981e4d3065a886975fb7fc3 --- sources/gui/qml/components/USBButton.qml (.../USBButton.qml) (revision fa8a24789926622048cdd480ea48abd9596c03b3) +++ sources/gui/qml/components/USBButton.qml (.../USBButton.qml) (revision 5e0731af5ae5e11d3981e4d3065a886975fb7fc3) @@ -21,6 +21,9 @@ import "qrc:/components" TouchRect { id : _root + + property bool disabled : false + width: 50 height: width x: width - 10 @@ -40,10 +43,6 @@ Connections { target: _GuiView onDidUSBDriveUmount : _root.enabled = false onDidUSBDriveRemove : _root.enabled = false - onDidUSBDriveMount : _root.enabled = true - onDidExportLog : _root.enabled = false - onDidExportService : _root.enabled = false - onDidExportTreatment: _root.enabled = false - onDidExport : _root.enabled = true + onDidUSBDriveMount : _root.enabled = true && ! disabled } }