Skip to content

Commit

Permalink
Fix: Language settings missess portugese language + displays nothing …
Browse files Browse the repository at this point in the history
…by default. Ref #237
  • Loading branch information
kozec committed Oct 18, 2016
1 parent 7fa6fa5 commit bff7e2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions syncthing_gtk/editordialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ def display_value(self, key, w):
if str(val) == str(m[i][0]).strip():
w.set_active(i)
break
else:
w.set_active(0)
elif isinstance(w, Gtk.CheckButton):
w.set_active(self.get_value(strip_v(key)))
else:
Expand Down
4 changes: 4 additions & 0 deletions ui-settings.glade
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
<col id="0">lt</col>
<col id="1">Latviešu</col>
</row>
<row>
<col id="0">pt</col>
<col id="1">Português</col>
</row>
<row>
<col id="0">ru</col>
<col id="1">Русский</col>
Expand Down

0 comments on commit bff7e2a

Please sign in to comment.