Skip to content
Permalink
Browse files
Populate combo box in code rather than in ui
  • Loading branch information
YoannQDQ authored and nyalldawson committed Mar 17, 2023
1 parent d2d7c5b commit 4c74bd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
@@ -73,6 +73,9 @@ def __init__(self, parent):
self.parent = parent
self.setupUi(self)

# Set up the formatter combo box
self.formatter.addItems(["autopep8", "black"])

self.listPath = []
self.lineEdit.setReadOnly(True)

@@ -508,16 +508,6 @@
<height>0</height>
</size>
</property>
<item>
<property name="text">
<string>autopep8</string>
</property>
</item>
<item>
<property name="text">
<string>black</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0" colspan="2">

0 comments on commit 4c74bd9

Please sign in to comment.