feat: add dedicated duplicate profile button

This commit is contained in:
Gabriele Musco 2023-07-03 18:06:35 +02:00
commit d225b65222
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE

View file

@ -178,6 +178,13 @@ impl SimpleComponent for MainView {
sender.input(Self::Input::EditProfile);
}
},
gtk::Button {
set_icon_name: "edit-copy-symbolic",
set_tooltip_text: Some("Duplicate Profile"),
connect_clicked[sender] => move |_| {
sender.input(Self::Input::DuplicateProfile);
}
},
gtk::Button {
set_icon_name: "list-add-symbolic",
set_tooltip_text: Some("Create Profile"),