Updates the repository to download the flags from to include all flags

This commit is contained in:
Saptak S 2022-03-17 00:03:51 +05:30
parent 23e623f45c
commit df8eb155eb
No known key found for this signature in database
GPG key ID: 7B7F1772C0C6FCBF
478 changed files with 19 additions and 6 deletions

View file

@ -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)