Make keys fit into listbox

This commit is contained in:
NoDRM 2021-11-15 10:56:26 +01:00
parent 066e613cee
commit 0313088c15

View File

@ -290,6 +290,8 @@ class ManageKeysDialog(QDialog):
for key in self.plugin_keys:
self.listy.addItem(QListWidgetItem(key))
self.listy.setMinimumWidth(self.listy.sizeHintForColumn(0) + 20)
def add_key(self):
d = self.create_key(self)
d.exec_()