mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-21 12:04:50 +00:00
fix: add transient_for to profile not editable dialog
This commit is contained in:
parent
d44e0815a0
commit
551769baf6
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ impl SimpleComponent for MainView {
|
|||
) -> ComponentParts<Self> {
|
||||
let profile_not_editable_dialog = adw::MessageDialog::builder()
|
||||
.modal(true)
|
||||
// .transient_for(root.root().unwrap().upcast_ref::<gtk::Window>())
|
||||
.transient_for(root.root().unwrap().downcast_ref::<gtk::Window>().unwrap())
|
||||
.heading("This profile is not editable")
|
||||
.body(concat!(
|
||||
"You can duplicate it and edit the new copy. ",
|
||||
|
|
Loading…
Add table
Reference in a new issue