mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 22:53:38 +02:00
Allow tabbing across comments fields
This commit is contained in:
parent
228960b96c
commit
6e9f81954a
2 changed files with 4 additions and 0 deletions
|
|
@ -160,6 +160,7 @@ def __init__(self, db, col_id, parent=None):
|
|||
self._layout = QVBoxLayout()
|
||||
self._tb = QPlainTextEdit(self._box)
|
||||
self._tb.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum)
|
||||
self._tb.setTabChangesFocus()
|
||||
self._layout.addWidget(self._tb)
|
||||
self._box.setLayout(self._layout)
|
||||
self.widgets = [self._box]
|
||||
|
|
|
|||
|
|
@ -416,6 +416,9 @@
|
|||
<layout class="QGridLayout" name="gridLayout_4">
|
||||
<item row="0" column="0">
|
||||
<widget class="QTextEdit" name="comments">
|
||||
<property name="tabChangesFocus">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="acceptRichText">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
|
|
|
|||
Loading…
Reference in a new issue