if (getMasterNoteIndex().get(i).getGuid().equals(guid)) {
getMasterNoteIndex().get(i).setNotebookGuid(notebookGuid);
for (int j=0; j<listManager.getNotebookIndex().size(); j++) {
if (listManager.getNotebookIndex().get(j).getGuid().equals(notebookGuid)) {
String name = listManager.getNotebookIndex().get(j).getName();
QModelIndex idx = createIndex(i, Global.noteTableNotebookPosition, nativePointer());
setData(idx, name, Qt.ItemDataRole.EditRole);
j=listManager.getNotebookIndex().size();
}
}
i=getMasterNoteIndex().size();