Restore namespace parameter to actions!
This does not yet fix `derive(Action)`, but will conflict with a lot so wanted to merge quickly.
This commit is contained in:
parent
188d727d31
commit
4290c67b6a
43 changed files with 399 additions and 304 deletions
|
@ -16,7 +16,7 @@ use ui::{prelude::*, HighlightedLabel, ListItem};
|
|||
use util::ResultExt;
|
||||
use workspace::{ModalView, Workspace};
|
||||
|
||||
actions!(Toggle);
|
||||
actions!(language_selector, [Toggle]);
|
||||
|
||||
pub fn init(cx: &mut AppContext) {
|
||||
cx.observe_new_views(LanguageSelector::register).detach();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue