Check for dirty notes and save the contents
| 1945 | //* Check for dirty notes and save the contents |
| 1946 | //******************************************************* |
| 1947 | void NixNote::saveContents() { |
| 1948 | for (int i=0; i<tabWindow->browserList->size(); i++) { |
| 1949 | qint32 lid = tabWindow->browserList->at(i)->lid; |
| 1950 | // Check if the note is dirty |
| 1951 | if (tabWindow->browserList->at(i)->editor->isDirty) { |
| 1952 | tabWindow->browserList->at(i)->saveNoteContent(); |
| 1953 | noteTableView->refreshCell(lid, NOTE_TABLE_IS_DIRTY_POSITION, true); |
| 1954 | } |
| 1955 | |
| 1956 | } |
| 1957 | } |
| 1958 | |
| 1959 | |
| 1960 |
no test coverage detected