Skip to content

Commit eaf52ee

Browse files
authored
Merge 6760238 into 5657960
2 parents 5657960 + 6760238 commit eaf52ee

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

source/gui/addonGui.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,9 @@ def __init__(self, parent):
248248
self.getAddonsButton = generalActions.addButton(self, label=_("&Get add-ons..."))
249249
self.getAddonsButton.Bind(wx.EVT_BUTTON, self.onGetAddonsClick)
250250
# Translators: The label for a button in Add-ons Manager dialog to install an add-on.
251-
self.addButton = generalActions.addButton(self, label=_("&Install..."))
252-
self.addButton.Bind(wx.EVT_BUTTON, self.onAddClick)
251+
if not globalVars.appArgs.secure:
252+
self.addButton = generalActions.addButton(self, label=_("&Install..."))
253+
self.addButton.Bind(wx.EVT_BUTTON, self.onAddClick)
253254
# Translators: The label of a button in the Add-ons Manager to open the list of incompatible add-ons.
254255
self.incompatAddonsButton = generalActions.addButton(self, label=_("&View incompatible add-ons..."))
255256
self.incompatAddonsButton.Bind(wx.EVT_BUTTON, self.onIncompatAddonsShowClick)

0 commit comments

Comments
 (0)