mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1860506 [[Enhancement] Move Change password button](https://bugs.launchpad.net/calibre/+bug/1860506)
This commit is contained in:
parent
580a685633
commit
327b6e071b
@ -722,9 +722,6 @@ class User(QWidget):
|
||||
l.setFieldGrowthPolicy(QFormLayout.AllNonFixedFieldsGrow)
|
||||
self.username_label = la = QLabel('')
|
||||
l.addWidget(la)
|
||||
self.cpb = b = QPushButton(_('Change &password'))
|
||||
l.addWidget(b)
|
||||
b.clicked.connect(self.change_password)
|
||||
self.ro_text = _('Allow {} to make &changes (i.e. grant write access)')
|
||||
self.rw = rw = QCheckBox(self)
|
||||
rw.setToolTip(
|
||||
@ -737,6 +734,9 @@ class User(QWidget):
|
||||
l.addWidget(rw)
|
||||
self.access_label = la = QLabel(self)
|
||||
l.addWidget(la), la.setWordWrap(True)
|
||||
self.cpb = b = QPushButton(_('Change &password'))
|
||||
l.addWidget(b)
|
||||
b.clicked.connect(self.change_password)
|
||||
self.restrict_button = b = QPushButton(self)
|
||||
b.clicked.connect(self.change_restriction)
|
||||
l.addWidget(b)
|
||||
|
Loading…
x
Reference in New Issue
Block a user