Merge pull request #454 from glutanimate/display-addon-name-in-config-window
Display add-on name in add-on configuration window title
This commit is contained in:
commit
669bb3737f
@ -1258,6 +1258,12 @@ class ConfigEditor(QDialog):
|
||||
self.updateText(self.conf)
|
||||
restoreGeom(self, "addonconf")
|
||||
restoreSplitter(self.form.splitter, "addonconf")
|
||||
self.setWindowTitle(
|
||||
tr(
|
||||
TR.ADDONS_CONFIG_WINDOW_TITLE,
|
||||
name=self.mgr.addon_meta(addon).human_name(),
|
||||
)
|
||||
)
|
||||
self.show()
|
||||
|
||||
def onRestoreDefaults(self):
|
||||
|
@ -4,3 +4,5 @@ addons-failed-to-load =
|
||||
|
||||
When loading '{$name}':
|
||||
{$traceback}
|
||||
# Shown in the add-on configuration screen (Tools>Add-ons>Config), in the title bar
|
||||
addons-config-window-title = Configure '{$name}'
|
||||
|
Loading…
Reference in New Issue
Block a user