mirror of
				https://github.com/johrpan/musicus.git
				synced 2025-10-26 19:57:25 +01:00 
			
		
		
		
	Adapt to newest gtk-rs
This commit is contained in:
		
							parent
							
								
									be6e7fd93a
								
							
						
					
					
						commit
						0898bf63c9
					
				
					 12 changed files with 18 additions and 18 deletions
				
			
		|  | @ -154,7 +154,7 @@ impl Screen<Rc<Box<dyn Source>>, ()> for MediumEditor { | |||
| impl MediumEditor { | ||||
|     /// Save the medium and possibly upload it to the server.
 | ||||
|     async fn save(&self) -> Result<()> { | ||||
|         let name = self.name_entry.get_text().unwrap().to_string(); | ||||
|         let name = self.name_entry.get_text().to_string(); | ||||
| 
 | ||||
|         // Create a new directory in the music library path for the imported medium.
 | ||||
| 
 | ||||
|  | @ -200,7 +200,7 @@ impl MediumEditor { | |||
| 
 | ||||
|         let medium = Medium { | ||||
|             id: generate_id(), | ||||
|             name: self.name_entry.get_text().unwrap().to_string(), | ||||
|             name: self.name_entry.get_text().to_string(), | ||||
|             discid: self.source.discid(), | ||||
|             tracks: track_sets, | ||||
|         }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Elias Projahn
						Elias Projahn