mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-11 18:50:10 +00:00
fix: remove broken transient_for
This commit is contained in:
parent
19173a98b3
commit
8583eadd37
2 changed files with 0 additions and 2 deletions
|
@ -201,7 +201,6 @@ impl SimpleComponent for InstallWivrnBox {
|
||||||
) -> ComponentParts<Self> {
|
) -> ComponentParts<Self> {
|
||||||
let adb_missing_dialog = adw::MessageDialog::builder()
|
let adb_missing_dialog = adw::MessageDialog::builder()
|
||||||
.modal(true)
|
.modal(true)
|
||||||
.transient_for(root.root().unwrap().downcast_ref::<gtk::Window>().unwrap())
|
|
||||||
.title("ADB is not installed")
|
.title("ADB is not installed")
|
||||||
.body("Please install ADB on your computer to install WiVRn on your Android headset")
|
.body("Please install ADB on your computer to install WiVRn on your Android headset")
|
||||||
.hide_on_close(true)
|
.hide_on_close(true)
|
||||||
|
|
|
@ -256,7 +256,6 @@ 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().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