summaryrefslogtreecommitdiff
path: root/PyMca5/PyMcaGui/io/hdf5/QNexusWidget.py
diff options
context:
space:
mode:
Diffstat (limited to 'PyMca5/PyMcaGui/io/hdf5/QNexusWidget.py')
-rw-r--r--PyMca5/PyMcaGui/io/hdf5/QNexusWidget.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/PyMca5/PyMcaGui/io/hdf5/QNexusWidget.py b/PyMca5/PyMcaGui/io/hdf5/QNexusWidget.py
index b664985..ba3ddbc 100644
--- a/PyMca5/PyMcaGui/io/hdf5/QNexusWidget.py
+++ b/PyMca5/PyMcaGui/io/hdf5/QNexusWidget.py
@@ -681,11 +681,12 @@ class QNexusWidget(qt.QWidget):
if ddict['mouse'] == "left":
# If parent is root do it even if not NXentry??
if ddict['type'] in ['NXentry', 'Entry']:
- auto = self.actions.getConfiguration()["auto"]
- if auto == "ADD":
- self._addAction()
- elif auto == "REPLACE":
- self._replaceAction()
+ if not self._BUTTONS:
+ auto = self.actions.getConfiguration()["auto"]
+ if auto == "ADD":
+ self._addAction()
+ elif auto == "REPLACE":
+ self._replaceAction()
if ddict['event'] == "itemDoubleClicked":
if ddict['type'] in ['Dataset']:
currentIndex = self.tableTab.currentIndex()