mirror of
https://github.com/onionshare/onionshare.git
synced 2025-11-30 11:06:54 -05:00
Updates the repository to download the flags from to include all flags
This commit is contained in:
parent
23e623f45c
commit
df8eb155eb
478 changed files with 19 additions and 6 deletions
|
|
@ -577,10 +577,10 @@ class AutoConnectUseBridgeWidget(QtWidgets.QWidget):
|
|||
self.country_combobox.setStyleSheet(
|
||||
common.gui.css["autoconnect_countries_combobox"]
|
||||
)
|
||||
self.country_combobox.setIconSize(QtCore.QSize(26, 26))
|
||||
self.country_combobox.setIconSize(QtCore.QSize(26, 20))
|
||||
for country_code in countries:
|
||||
icon = QtGui.QIcon(
|
||||
GuiCommon.get_resource_path(os.path.join("images", "countries", f"{country_code}.png"))
|
||||
GuiCommon.get_resource_path(os.path.join("images", "countries", f"{country_code.lower()}.png"))
|
||||
)
|
||||
self.country_combobox.addItem(icon, countries[country_code], country_code)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue