But if you have the index of the currently selected cell, you can get it's row, so it looks like "target = model->data(model->index(editIndex.first().row(), 0));" would then work.
Edit: Glad you got it working.
But if you have the index of the currently selected cell, you can get it's row, so it looks like "target = model->data(model->index(editIndex.first().row(), 0));" would then work.
Edit: Glad you got it working.
Last edited by norobro; 26th February 2010 at 04:07.
Bookmarks