Clean up internal API confusion - can_add_channels_proxy () -- checks presence of io - can_add_channel_proxy () -- checks io->can_add_port() UserBundle don't have a PortGroup::_bundle reference that can be used to lookup the IO via io_from_bundle(). While BundleEditorMatrix::can_add_channels_proxy() was overriden to allow adding I/Os, can_add_channel_proxy() later prevented that. This further prevents removing the last port, preventing empty bundles.
3.6 KiB
3.6 KiB