Skip to content
Browse files

processing: simple interface translation fix

  • Loading branch information
jef-n committed Jul 27, 2015
1 parent f899f53 commit 25e9f864a27bc4f53648f0274f36b02dbbf81f8b
@@ -77,6 +77,8 @@ def getClassificationEn(alg):

def getClassification(alg):
group, subgroup = getClassificationEn(alg)
if not group and not subgroup:
return None, None
return (QCoreApplication.translate('AlgorithmClassification', group),
QCoreApplication.translate('AlgorithmClassification', subgroup))

@@ -58,8 +58,8 @@ def __init__(self):
self.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea)

self.modeComboBox.addItems(['Simplified interface',
'Advanced interface'])
self.modeComboBox.addItems(['Simplified interface'),'Advanced interface']))
settings = QSettings()
if not settings.contains(self.USE_CATEGORIES):
settings.setValue(self.USE_CATEGORIES, True)

0 comments on commit 25e9f86

Please sign in to comment.
You can’t perform that action at this time.