diff --git a/osu.Game/Beatmaps/BeatmapManager.cs b/osu.Game/Beatmaps/BeatmapManager.cs
index 14175f251b..562cbfabf0 100644
--- a/osu.Game/Beatmaps/BeatmapManager.cs
+++ b/osu.Game/Beatmaps/BeatmapManager.cs
@@ -176,11 +176,6 @@ namespace osu.Game.Beatmaps
}
}
- ///
- /// Fired when the user requests to view the resulting import.
- ///
- public Action>> PresentImport { set => beatmapModelManager.PostImport = value; }
-
///
/// Delete a beatmap difficulty.
///
@@ -338,5 +333,14 @@ namespace osu.Game.Beatmaps
}
#endregion
+
+ #region Implementation of IPostImports
+
+ public Action>> PostImport
+ {
+ set => beatmapModelManager.PostImport = value;
+ }
+
+ #endregion
}
}
diff --git a/osu.Game/Database/ArchiveModelManager.cs b/osu.Game/Database/ArchiveModelManager.cs
index c235fc7728..84e33e3f36 100644
--- a/osu.Game/Database/ArchiveModelManager.cs
+++ b/osu.Game/Database/ArchiveModelManager.cs
@@ -30,7 +30,7 @@ namespace osu.Game.Database
///
/// The model type.
/// The associated file join type.
- public abstract class ArchiveModelManager : ICanAcceptFiles, IModelManager, IModelFileManager, IPostImports
+ public abstract class ArchiveModelManager : ICanAcceptFiles, IModelManager, IModelFileManager
where TModel : class, IHasFiles, IHasPrimaryKey, ISoftDelete
where TFileModel : class, INamedFileInfo, new()
{
diff --git a/osu.Game/Database/IModelImporter.cs b/osu.Game/Database/IModelImporter.cs
index 8e658cb0f5..479f33c3b4 100644
--- a/osu.Game/Database/IModelImporter.cs
+++ b/osu.Game/Database/IModelImporter.cs
@@ -13,7 +13,7 @@ namespace osu.Game.Database
/// A class which handles importing of associated models to the game store.
///
/// The model type.
- public interface IModelImporter : IPostNotifications
+ public interface IModelImporter : IPostNotifications, IPostImports
where TModel : class
{
///
diff --git a/osu.Game/OsuGame.cs b/osu.Game/OsuGame.cs
index 020cdebab6..6d2131d85b 100644
--- a/osu.Game/OsuGame.cs
+++ b/osu.Game/OsuGame.cs
@@ -642,7 +642,7 @@ namespace osu.Game
SkinManager.PostNotification = n => Notifications.Post(n);
BeatmapManager.PostNotification = n => Notifications.Post(n);
- BeatmapManager.PresentImport = items => PresentBeatmap(items.First().Value);
+ BeatmapManager.PostImport = items => PresentBeatmap(items.First().Value);
ScoreManager.PostNotification = n => Notifications.Post(n);
ScoreManager.PostImport = items => PresentScore(items.First().Value);
diff --git a/osu.Game/Scoring/ScoreManager.cs b/osu.Game/Scoring/ScoreManager.cs
index cf22a8fda4..8494cdcd22 100644
--- a/osu.Game/Scoring/ScoreManager.cs
+++ b/osu.Game/Scoring/ScoreManager.cs
@@ -25,7 +25,7 @@ using osu.Game.Rulesets.Scoring;
namespace osu.Game.Scoring
{
- public class ScoreManager : IModelManager, IModelFileManager, IModelDownloader, ICanAcceptFiles, IPostImports
+ public class ScoreManager : IModelManager, IModelFileManager, IModelDownloader, ICanAcceptFiles
{
private readonly Scheduler scheduler;
private readonly Func difficulties;