Quote:
Originally Posted by chaley
Yes. For example: - Select a book by single-clicking on a cell such as title. The line turns blue. No editor opens. No action runs.
- Single-click on a cell on that line, for example authors. The editor opens.
- Double-click on a cell, for example authors. The action runs.
Inverting the order of the last two steps doesn't change anything.
|
When I reach number 3, the action runs and the cell opens for editing.
After more testing, it seems to be chain dependent. When I tested with some chains that contain only one action, it behaved normally. The chain I was initially testing with (attached below) has two conditional actions and it always triggers the abnormal behavior.
This might suggest that the problem is somewhere in my code? Not really sure. Will investigate more and see if I get to the bottom of this.
Edit: After testing some more, I think I found the culprit. The chain loop makes this call between actions:
Code:
QApplication.processEvents()
If I comment this out, the problem does not happen anymore. I don't know calling processEvents() leads to this?