diff --git a/src/calibre/gui2/widgets.py b/src/calibre/gui2/widgets.py index d6b9d7d8ed..08422a285b 100644 --- a/src/calibre/gui2/widgets.py +++ b/src/calibre/gui2/widgets.py @@ -257,6 +257,9 @@ class LocationView(QListView): if 0 <= row and row <= 3: self.model().location_changed(row) + def leaveEvent(self, event): + self.eject_button.hide() + def show_eject(self, location): self.eject_button.hide()