mirror of
				https://github.com/scottlamb/moonfire-nvr.git
				synced 2025-10-29 15:55:01 -04:00 
			
		
		
		
	Fix deleting a camera with no video duplicating dialog
This commit is contained in:
		
							parent
							
								
									438de38202
								
							
						
					
					
						commit
						5a567da652
					
				| @ -343,7 +343,10 @@ fn press_delete(siv: &mut Cursive, db: &Arc<db::Database>, id: i32, name: String | |||||||
|         )) |         )) | ||||||
|         .button("Delete", { |         .button("Delete", { | ||||||
|             let db = db.clone(); |             let db = db.clone(); | ||||||
|             move |s| actually_delete(s, &db, id) |             move |s| { | ||||||
|  |                 s.pop_layer(); | ||||||
|  |                 actually_delete(s, &db, id); | ||||||
|  |             } | ||||||
|         }) |         }) | ||||||
|     } |     } | ||||||
|     .title("Delete camera") |     .title("Delete camera") | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user