mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-09-17 15:02:02 +00:00
feat: add dedicated duplicate profile button
This commit is contained in:
parent
b0eda9993d
commit
d225b65222
1 changed files with 7 additions and 0 deletions
|
@ -178,6 +178,13 @@ impl SimpleComponent for MainView {
|
||||||
sender.input(Self::Input::EditProfile);
|
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 {
|
gtk::Button {
|
||||||
set_icon_name: "list-add-symbolic",
|
set_icon_name: "list-add-symbolic",
|
||||||
set_tooltip_text: Some("Create Profile"),
|
set_tooltip_text: Some("Create Profile"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue