- made the Project Tree items not editable by clicking on selected Tree items (the object rename can still be done in the Selected tab)

This commit is contained in:
Marius Stanciu
2020-05-26 00:58:06 +03:00
committed by Marius
parent d2cdd55164
commit 2084db5d22
2 changed files with 3 additions and 1 deletions

View File

@@ -50,7 +50,8 @@ class KeySensitiveListView(QtWidgets.QTreeView):
def __init__(self, app, parent=None):
super(KeySensitiveListView, self).__init__(parent)
self.setHeaderHidden(True)
self.setEditTriggers(QtWidgets.QTreeView.SelectedClicked)
# self.setEditTriggers(QtWidgets.QTreeView.SelectedClicked) # allow Edit on Tree
self.setEditTriggers(QtWidgets.QTreeView.NoEditTriggers)
# self.setRootIsDecorated(False)
# self.setExpandsOnDoubleClick(False)

View File

@@ -12,6 +12,7 @@ CHANGELOG for FlatCAM beta
- working on Isolation Tool: made to work the tool parameters data to GUI and GUI to data
- Isolation Tool: reworked the GUI
- if there is a Gerber object selected then in Isolation Tool the Gerber object combobox will show that object name as current
- made the Project Tree items not editable by clicking on selected Tree items (the object rename can still be done in the Selected tab)
25.05.2020