]> sigrok.org Git - pulseview.git/commit
Settings: Fix the default item in the language combobox
authorSelf Not Found <redacted>
Wed, 14 Sep 2022 13:44:04 +0000 (21:44 +0800)
committerSoeren Apel <redacted>
Sat, 8 Oct 2022 19:31:22 +0000 (21:31 +0200)
commitdb843aa8f7135deb6e22a92cff9237b7326a40aa
tree36d504bd19bc853369ff94570ad7fdc7b2575c8e
parentfd6005aadf3c86bca4dc1fb487d8615669e1deee
Settings: Fix the default item in the language combobox

If the language is not set, the default language will be English, but the combobox will show "German"(The first item in language combobox)
This is because the current_language will set to "" if the language is not set, and it doesn't match the default language "en"
pv/dialogs/settings.cpp