diff --git a/SearchBox.py b/SearchBox.py index 26ee4a3..37bceb9 100644 --- a/SearchBox.py +++ b/SearchBox.py @@ -118,6 +118,8 @@ class SearchBox(QLineEdit): self.pendingExtraInfo = None self.currentExtraInfo = None # Connect signals and slots + self.listView.clicked.connect(lambda x: self.selectResult("select", x)) + # self.listView.selectionModel().selectionChanged.connect(self.onSelectionChanged) # Add custom mouse events. On windows the click events were not working for Searcbar versions 1.2.x and older. # These events and their proxies in the SearchBorLight fixes this self.listView.mousePressEvent = lambda event: self.proxyMousePressEvent(event) @@ -259,7 +261,6 @@ class SearchBox(QLineEdit): @staticmethod def acceptKey(self, mode): - print(f"Got here, {mode}") currentIndex = self.listView.currentIndex() self.showList() if currentIndex.isValid(): diff --git a/package.xml b/package.xml index 5bebba0..0b0e04a 100644 --- a/package.xml +++ b/package.xml @@ -5,7 +5,7 @@ Adds a search bar widget for tools, document objects, and preferences - 1.3.1 + 1.3.1.1 2022-06-01