mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-27 17:22:34 -04:00
Add a clear button to the target field
This commit is contained in:
@@ -859,6 +859,7 @@ class InsertSemantics(Dialog):
|
||||
self.semantic_type.addItem(val, key)
|
||||
tl.addRow(_('Type of &semantics:'), self.semantic_type)
|
||||
self.target = t = QLineEdit(self)
|
||||
t.setClearButtonEnabled(True)
|
||||
t.setPlaceholderText(_('The destination (href) for the link'))
|
||||
tl.addRow(_('&Target:'), t)
|
||||
l.addLayout(tl)
|
||||
|
||||
Reference in New Issue
Block a user