Skip to content

Commit

Permalink
Consti dev (#633)
Browse files Browse the repository at this point in the history
* Untested Fix to GND Bat cell voltage

* hide FC shutdown button

* Center FC Reboot button

---------

Co-authored-by: pilotnbr1 <[email protected]>
  • Loading branch information
raphaelscholle and pilotnbr1 authored Dec 10, 2023
1 parent 01e2746 commit 25f8f52
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qml/ui/configpopup/status/FooterRebootShutdownWarning.qml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ Item {
//visible: get_show_power_actions()
Button{
visible: get_show_power_actions() && m_supports_reboot_actions
Layout.alignment: Qt.AlignLeft
Layout.alignment: {if (m_supports_shutdown_actions == false)
return Qt.AlignCenter
else
return Qt.Align.Right
}
Layout.leftMargin: 10
text: qsTr("REBOOT")
onPressed: {
Expand Down

0 comments on commit 25f8f52

Please sign in to comment.