- added two new postprocessor files for ISEL CNC and for BERTA CNC

- clicking on a FCTable GUI element empty space will also clear the focus now
This commit is contained in:
Marius Stanciu
2019-11-13 01:29:50 +02:00
committed by Marius
parent 8d6df5493c
commit 548d16a7d5
5 changed files with 395 additions and 3 deletions

View File

@@ -1776,8 +1776,9 @@ class FCTable(QtWidgets.QTableWidget):
# if user is clicking an blank area inside the QTableWidget it will deselect currently selected rows
def mousePressEvent(self, event):
if self.itemAt(event.pos()) is None:
if not self.itemAt(event.pos()):
self.clearSelection()
self.clearFocus()
else:
QtWidgets.QTableWidget.mousePressEvent(self, event)