Skip to content

Commit

Permalink
Make things build again with Playtime
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Nov 1, 2023
1 parent 98d0974 commit 1583d13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main/src/infrastructure/ui/independent_panel_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl IndependentPanelManager {
#[cfg(feature = "playtime")]
pub fn show_app_panel(&self) {
let result = self.show_app_panel_internal();
notification::notify_user_on_anyhow_error(result);
crate::base::notification::notify_user_on_anyhow_error(result);
}

#[cfg(feature = "playtime")]
Expand All @@ -122,7 +122,7 @@ impl IndependentPanelManager {
return Ok(());
}
// Fail fast if library not available
let _ = App::get_or_load_app_library()?;
let _ = crate::infrastructure::plugin::App::get_or_load_app_library()?;
// Then open
self.app_panel.clone().open(reaper_main_window());
Ok(())
Expand Down
2 changes: 1 addition & 1 deletion main/src/infrastructure/ui/main_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ impl MainPanel {
let activate_data = self
.active_data
.borrow()
.ok_or_else(|| anyhow!("main panel not active yet"))?;
.ok_or_else(|| anyhow::anyhow!("main panel not active yet"))?;
Ok(activate_data.panel_manager.borrow().app_panel().clone())
}

Expand Down

0 comments on commit 1583d13

Please sign in to comment.