]> git.proxmox.com Git - pve-installer.git/commit
tui: implement NumericEditView::content() callback-free
authorChristoph Heiss <c.heiss@proxmox.com>
Wed, 31 May 2023 10:27:36 +0000 (12:27 +0200)
committerChristoph Heiss <c.heiss@proxmox.com>
Wed, 14 Jun 2023 08:39:56 +0000 (10:39 +0200)
commit938259acb1e3969123cecc70182303b7396c0dc0
tree4700eb63a185afce05ae485e68bb53fddb5de87a
parentc2eee468620d3cfbe5c9e3ce78d5c7cb803cd458
tui: implement NumericEditView::content() callback-free

.set_content() returns a callback which must be called in a `Cursive`
context, which for the chainable variant is never really on option.
Avoid that and do it properly.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
proxmox-tui-installer/src/views.rs