From 07ff7a88bb4a62a0cb9ddb541ecc3d5e50597566 Mon Sep 17 00:00:00 2001 From: Paul Ebbers Date: Sat, 11 Jan 2025 13:57:41 +0100 Subject: [PATCH] Fixed issue were not all wb's were shown --- SearchBox.py | 3 ++- package.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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