mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Hide eject button when leaving location_view.
This commit is contained in:
parent
92877f804b
commit
fd1b799622
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user