Hello,

The editor widget: I've created a widget with a QLineEdit and with a extra button (open a QFileDialog) for the user to select a path. This path is inserted into the QLineEdit. Works fine and works also when I use the widget as a cellWidget in a view.

The delegate: I've created a custom delegate that returns this widget as a editor, but if I click on the button to select a path the application crashes. I assume this is because the the editor widget loses focus to the Dialog and is deleted.

Does anyone know something more?