mirror of
				https://github.com/SimpleMobileTools/Simple-Notes.git
				synced 2025-06-05 17:00:23 +02:00 
			
		
		
		
	update the current note if it was deleted
This commit is contained in:
		@@ -182,7 +182,7 @@ public class MainActivity extends SimpleActivity implements OpenNoteDialog.OpenN
 | 
			
		||||
 | 
			
		||||
        mDb.deleteNote(mCurrentNote.getId());
 | 
			
		||||
        mNotes = mDb.getNotes();
 | 
			
		||||
        updateSelectedNote(0);
 | 
			
		||||
        updateSelectedNote(mNotes.get(0).getId());
 | 
			
		||||
        invalidateOptionsMenu();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user