smaller font picker so it fits better on SongEditor.qml

This commit is contained in:
Chris Cochrun 2023-11-21 06:34:32 -06:00
parent adc8bc8c04
commit 39ef6ed492
2 changed files with 18 additions and 18 deletions

View file

@ -62,17 +62,17 @@ mod image_model {
TitleRole,
}
impl FromStr for Role {
type Err = ();
fn from_str(input: &str) -> Result<Role, Self::Err> {
match input {
"id" => Ok(Role::IdRole),
"title" => Ok(Role::TitleRole),
"path" => Ok(Role::PathRole),
_ => Err(()),
}
}
}
// impl FromStr for Role {
// type Err = ();
// fn from_str(input: &str) -> Result<Role, Self::Err> {
// match input {
// "id" => Ok(Role::IdRole),
// "title" => Ok(Role::TitleRole),
// "path" => Ok(Role::PathRole),
// _ => Err(()),
// }
// }
// }
// use crate::entities::{images, prelude::Images};
// use sea_orm::{ConnectionTrait, Database, DbBackend, DbErr, Statement, ActiveValue};