mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-03 14:49:04 +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> {
|
) -> ComponentParts<Self> {
|
||||||
let profile_not_editable_dialog = adw::MessageDialog::builder()
|
let profile_not_editable_dialog = adw::MessageDialog::builder()
|
||||||
.modal(true)
|
.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")
|
.heading("This profile is not editable")
|
||||||
.body(concat!(
|
.body(concat!(
|
||||||
"You can duplicate it and edit the new copy. ",
|
"You can duplicate it and edit the new copy. ",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue