mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Remove print statement
This commit is contained in:
parent
671d84037f
commit
71cafdbc2f
@ -150,7 +150,6 @@ class EditColumnDelegate(QItemDelegate):
|
|||||||
|
|
||||||
def event(ev, me=None, super_class=None, context_menu_handler=None):
|
def event(ev, me=None, super_class=None, context_menu_handler=None):
|
||||||
if not me.isEnabled() and ev.type() == QEvent.MouseButtonRelease:
|
if not me.isEnabled() and ev.type() == QEvent.MouseButtonRelease:
|
||||||
print('here')
|
|
||||||
if ev.button() == Qt.MouseButton.RightButton:
|
if ev.button() == Qt.MouseButton.RightButton:
|
||||||
# let the event finish before the context menu is opened.
|
# let the event finish before the context menu is opened.
|
||||||
QTimer.singleShot(0, partial(context_menu_handler, ev.position().toPoint()))
|
QTimer.singleShot(0, partial(context_menu_handler, ev.position().toPoint()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user