QListWidgetItem is not being selected
Unsolved
General and Desktop
-
Hi,
When I'm selecting an item from my qlistwidget it triggers
currentItemChanged()
signal but the selected item returns false onqlistwidget.currentItem().isSelected()
self.ui.itemList.currentItemChanged.connect(self.addToProcessingList)
def addToProcessingList(self):
if self.ui.itemList.currentItem().isSelected(): print self.ui.Testbenches.currentItem().text()]Why it returns FALSE when the item is actually selected?
-
Hi,
Why not use the parameters of currentItemChanged to get the current item ?