mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-05 08:40:13 -04:00
Fix bug 913154: focus problem with template history widget in bulk edit.
This commit is contained in:
parent
795dd84415
commit
1400222d17
@ -660,7 +660,8 @@ class HistoryLineEdit(QComboBox): # {{{
|
|||||||
|
|
||||||
def focusOutEvent(self, e):
|
def focusOutEvent(self, e):
|
||||||
QComboBox.focusOutEvent(self, e)
|
QComboBox.focusOutEvent(self, e)
|
||||||
self.lost_focus.emit()
|
if not (self.hasFocus() or self.view().hasFocus()):
|
||||||
|
self.lost_focus.emit()
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user