Skip to content

Commit

Permalink
Temporarily disable gui elements that are not used in EDB
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSazonov committed Nov 13, 2024
1 parent 9dc93a1 commit 9558bbd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/EasyApp/Gui/Components/PreferencesDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -144,19 +144,22 @@ EaElements.Dialog {
spacing: EaStyle.Sizes.fontPixelSize

EaElements.Label {
enabled: false
anchors.verticalCenter: parent.verticalCenter
text: qsTr("Check on application start") + ":"
}

EaElements.CheckBox {
id: updatesCheckBox
enabled: false
padding: 0
checked: EaGlobals.Vars.checkUpdateOnAppStart
onCheckedChanged: EaGlobals.Vars.checkUpdateOnAppStart = checked
}
}

EaElements.SideBarButton {
enabled: false
width: checkOnAppStartRow.width
highlighted: true
text: qsTr("Check now")
Expand Down Expand Up @@ -295,17 +298,19 @@ EaElements.Dialog {

// Language
EaElements.Label {
enabled: false
text: qsTr("Language") + ":"
}

EaElements.ComboBox {
enabled: false
valueRole: "code"
textRole: "name"

model: EaGlobals.Vars.translator.languages

onActivated: EaGlobals.Vars.translator.selectLanguage(currentIndex)
Component.onCompleted: currentIndex = EaGlobals.Vars.translator.defaultLanguageIndex()
Component.onCompleted: currentIndex = 2 // EaGlobals.Vars.translator.defaultLanguageIndex()
}
// Language

Expand Down

0 comments on commit 9558bbd

Please sign in to comment.