This commit is contained in:
Kovid Goyal 2025-05-11 19:50:50 +05:30
parent a1a611cd1a
commit e1bf592824
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 3 additions and 3 deletions

View File

@ -1121,7 +1121,7 @@ class TemplateConfig(QWidget): # {{{
tmpl = self.template
try:
v = validation_formatter.validate(tmpl)
validation_formatter.validate(tmpl)
return True
except Exception as err:
error_dialog(self, _('Invalid template for {0}').format(self.name),

View File

@ -64,7 +64,7 @@ class TabbedDeviceConfig(QTabWidget):
from DeviceOptionsGroupBox, are created to further group the options. The group
boxes can be coded to support any control type and dependencies between them.
Set validate_before_accept to True if you want validation() to be called
Set validate_before_accept to True if you want validate() to be called
when OK is pressed
'''