mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add a clear button to the target field
This commit is contained in:
parent
79a6ab5d94
commit
4958e3623d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user