Add an accounts list setter
parent
b04645aa47
commit
9e15401ddc
|
@ -133,6 +133,15 @@ class SettingsPane:
|
|||
# encompasing high level namespace
|
||||
order_mode: Optional['OrderMode'] = None # typing: ignore # noqa
|
||||
|
||||
def set_accounts(
|
||||
self,
|
||||
names: list[str],
|
||||
sizes: Optional[list[float]] = None,
|
||||
) -> None:
|
||||
|
||||
combo = self.form.fields['account']
|
||||
return combo.set_items(names)
|
||||
|
||||
def update_accounts_icon(
|
||||
self,
|
||||
status: str, # one of the values in ``_icons`` above
|
||||
|
|
Loading…
Reference in New Issue