Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QLineEdit with QDirModel completer does not set isModified flag
Boris L last edited by
I created QLineEdit to enter directory path with auto-complete feature:
@edit = new QLineEdit;
completer = new QCompleter;
completer->setModel( new QDirModel(completer) );
edit->setCompleter( completer );@
I notice that edit->isModisfied() is false after I start typing a path, and then selected a directory from the drop-down list.
Can I catch some event or signal when the user selected a folder to set modified flag myself?
What about activated from QCompleter ?