mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:19:00 +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
|
||||
title: catalog.i18nc("@title:tab","General");
|
||||
|
||||
function setDefaultLanguage(languageCode){
|
||||
function setDefaultLanguage(languageCode)
|
||||
{
|
||||
//loops trough the languageList and sets the language using the languageCode
|
||||
for(var i = 0; i < languageList.count; i++){
|
||||
if (languageComboBox.model.get(i).code == languageCode){
|
||||
for(var i = 0; i < languageList.count; i++)
|
||||
{
|
||||
if (languageComboBox.model.get(i).code == languageCode)
|
||||
{
|
||||
languageComboBox.currentIndex = i
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user