Browse Source

chore(combobox): extend items

pull/603/head
slook 2 months ago
parent
commit
78b55238e7
  1. 4
      libs/pyTermTk/TermTk/TTkWidgets/combobox.py

4
libs/pyTermTk/TermTk/TTkWidgets/combobox.py

@ -303,8 +303,8 @@ class TTkComboBox(TTkContainer):
:param items: :param items:
:type items: list[str] :type items: list[str]
''' '''
for item in items: self._list.extend(items)
self.addItem(item) self.update()
pyTTkSlot() pyTTkSlot()
def clear(self) -> None: def clear(self) -> None:

Loading…
Cancel
Save