mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
editor: First changes for work editor
This commit is contained in:
parent
15ba043050
commit
55b344605b
19 changed files with 1291 additions and 19 deletions
|
|
@ -5,7 +5,7 @@ use adw::{
|
|||
use gtk::glib::{self, Properties};
|
||||
use std::cell::OnceCell;
|
||||
|
||||
use crate::editor::person_editor::MusicusPersonEditor;
|
||||
use crate::editor::work_editor::MusicusWorkEditor;
|
||||
use crate::library::MusicusLibrary;
|
||||
|
||||
mod imp {
|
||||
|
|
@ -39,7 +39,7 @@ mod imp {
|
|||
impl ObjectImpl for LibraryManager {
|
||||
fn constructed(&self) {
|
||||
self.parent_constructed();
|
||||
self.obj().set_child(Some(&MusicusPersonEditor::new()));
|
||||
self.obj().set_child(Some(&MusicusWorkEditor::new(self.library.get().unwrap())));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue