mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
conforming to code style
Fixes #CURA-327
This commit is contained in:
parent
c746c24e2b
commit
ce08ab2b9a
1 changed files with 6 additions and 3 deletions
|
|
@ -13,10 +13,13 @@ UM.PreferencesPage
|
||||||
//: General configuration page title
|
//: General configuration page title
|
||||||
title: catalog.i18nc("@title:tab","General");
|
title: catalog.i18nc("@title:tab","General");
|
||||||
|
|
||||||
function setDefaultLanguage(languageCode){
|
function setDefaultLanguage(languageCode)
|
||||||
|
{
|
||||||
//loops trough the languageList and sets the language using the languageCode
|
//loops trough the languageList and sets the language using the languageCode
|
||||||
for(var i = 0; i < languageList.count; i++){
|
for(var i = 0; i < languageList.count; i++)
|
||||||
if (languageComboBox.model.get(i).code == languageCode){
|
{
|
||||||
|
if (languageComboBox.model.get(i).code == languageCode)
|
||||||
|
{
|
||||||
languageComboBox.currentIndex = i
|
languageComboBox.currentIndex = i
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue