mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-30 10:35:20 -04:00
Hide eject button when leaving location_view.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user