fix(displays): fix mirror label always showing as disabled

Closes #400
This commit is contained in:
Michael Aaron Murphy 2024-07-11 05:46:39 +02:00
parent acd3c23798
commit c3dbba8d85
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -660,8 +660,10 @@ impl Page {
.map(|(projected_id, _)| Mirroring::Project(projected_id));
}
// If mirror menu is not set, set it to don't mirror.
self.mirror_menu.selected = Some(Mirroring::Disable);
if self.mirror_menu.selected.is_none() {
// If mirror menu is not set, set it to don't mirror.
self.mirror_menu.selected = Some(Mirroring::Disable);
}
}
/// Change display orientation.