This commit is contained in:
Ashley Wulber 2025-02-18 15:52:09 -05:00
parent 1fe79b727b
commit add66a6424
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
2 changed files with 5 additions and 6 deletions

View file

@ -135,7 +135,6 @@ impl cosmic::Application for Window {
)); ));
} }
Message::PopupCloseRequested(id) => { Message::PopupCloseRequested(id) => {
dbg!(id, self.dropdown_id);
return cosmic::task::message(cosmic::app::message::destroy_popup::<Window>(id)); return cosmic::task::message(cosmic::app::message::destroy_popup::<Window>(id));
} }
} }

View file

@ -241,21 +241,21 @@ impl cosmic::Application for App {
{ {
vec![cosmic::widget::menu::bar(vec![ vec![cosmic::widget::menu::bar(vec![
Tree::with_children( Tree::with_children(
Element::from(button::text("hiiiiiiiiiiiiiiiiiii 1")), menu::root("hiiiiiiiiiiiiiiiiiii 1"),
menu::items( menu::items(
&self.keybinds, &self.keybinds,
vec![menu::Item::Button("hi", None, Action::Hi)], vec![menu::Item::Button("hi", None, Action::Hi)],
), ),
), ),
Tree::with_children( Tree::with_children(
Element::from(button::text("hiiiiiiiiiiiiiiiiii 2")), menu::root("hiiiiiiiiiiiiiiiiii 2"),
menu::items( menu::items(
&self.keybinds, &self.keybinds,
vec![menu::Item::Button("hi 2", None, Action::Hi)], vec![menu::Item::Button("hi 2", None, Action::Hi)],
), ),
), ),
Tree::with_children( Tree::with_children(
Element::from(button::text("hiiiiiiiiiiiiiiiiiiiii 3")), menu::root("hiiiiiiiiiiiiiiiiiiiii 3"),
menu::items( menu::items(
&self.keybinds, &self.keybinds,
vec![ vec![
@ -265,7 +265,7 @@ impl cosmic::Application for App {
), ),
), ),
Tree::with_children( Tree::with_children(
Element::from(button::text("hi 3")), menu::root("hi 3"),
menu::items( menu::items(
&self.keybinds, &self.keybinds,
vec![ vec![
@ -276,7 +276,7 @@ impl cosmic::Application for App {
), ),
), ),
Tree::with_children( Tree::with_children(
Element::from(button::text("hi 4")), menu::root("hi 4"),
menu::items( menu::items(
&self.keybinds, &self.keybinds,
vec![ vec![