This commit is contained in:
Kovid Goyal
2017-05-18 20:03:47 +05:30
parent 8746416b5a
commit 2235bfaec8
+1
View File
@@ -376,6 +376,7 @@ class ChangeRestriction(QDialog):
def __init__(self, username, restriction, parent=None):
QDialog.__init__(self, parent)
self.setWindowTitle(_('Change library access permissions for {}').format(username))
self.username = username
self.l = l = QFormLayout(self)
l.setFieldGrowthPolicy(l.AllNonFixedFieldsGrow)