mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 23:16:06 +08:00
conforming to code style
Fixes #CURA-327
This commit is contained in:
parent
c746c24e2b
commit
ce08ab2b9a
@ -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…
x
Reference in New Issue
Block a user