Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.0
-
None
-
Windows 7 64-bits
-
7f2c9d716cba375ee3e576513898a39b3f2c39a5
Description
I've spent the last 3 hours removing everything in my app to isolate this bug.
Basically, this code crashes the app:
import Qt 4.7 ListView { width: 100 height: 100 model: app.data //QList<QObject*> delegate: TextInput { text: modelData.name height: 20 width: parent.width onActiveFocusChanged: { if(!activeFocus) { app.addNewProject(); // Slot that adds a new item to the model } } } }
Steps to reproduce:
1. Launch the attached project in QtCreator
2. Click on any text
3. Type something
4. Click 2 or more times on another item
5. The app will crash