Commit e2004e6c authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Search labels from data dictionary

parent 2ab40c93
...@@ -2209,9 +2209,9 @@ class OG_MainWindow(QtGui.QMainWindow, object): ...@@ -2209,9 +2209,9 @@ class OG_MainWindow(QtGui.QMainWindow, object):
self.asn1_browser.scrollToAnchor(anchor) self.asn1_browser.scrollToAnchor(anchor)
# Activate the tab to display the ASN.1 type in html # Activate the tab to display the ASN.1 type in html
self.asn1_browser.parent().parent().raise_() self.asn1_browser.parent().parent().raise_()
elif root == 'states' and column == 0: elif root in ('states', 'labels') and column == 0:
state = item.text(column) name = item.text(column)
if self.view.scene().search_pattern != state: if self.view.scene().search_pattern != name:
self.view.scene().search(item.text(column)) self.view.scene().search(item.text(column))
self.view.setFocus() self.view.setFocus()
else: else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment