diff --git a/src/cutecoin/gui/wot_tab.py b/src/cutecoin/gui/wot_tab.py index 94785709c2268543acecdd925f33de4492a3138d..4b6bedd1fdc2901e6432592884fa16cdc376291f 100644 --- a/src/cutecoin/gui/wot_tab.py +++ b/src/cutecoin/gui/wot_tab.py @@ -3,7 +3,7 @@ import time import datetime import logging -from PyQt5.QtWidgets import QWidget +from PyQt5.QtWidgets import QWidget, QComboBox from ..gen_resources.wot_tab_uic import Ui_WotTabWidget from cutecoin.gui.views.wot import NODE_STATUS_HIGHLIGHTED, NODE_STATUS_SELECTED, NODE_STATUS_OUT, ARC_STATUS_STRONG, ARC_STATUS_WEAK @@ -29,6 +29,9 @@ class WotTabWidget(QWidget, Ui_WotTabWidget): #Â add combobox events self.comboBoxSearch.lineEdit().returnPressed.connect(self.search) + #Â To fix a recall of the same item with different case, + #Â the edited text is not added in the item list + self.comboBoxSearch.setInsertPolicy(QComboBox.NoInsert) #Â add scene events self.graphicsView.scene().node_clicked.connect(self.draw_graph)