diff --git a/Assets/Cryville/Crtr/Browsing/UI/PathedResourceBrowser.cs b/Assets/Cryville/Crtr/Browsing/UI/PathedResourceBrowser.cs index efbaec2..ff5ed49 100644 --- a/Assets/Cryville/Crtr/Browsing/UI/PathedResourceBrowser.cs +++ b/Assets/Cryville/Crtr/Browsing/UI/PathedResourceBrowser.cs @@ -57,8 +57,10 @@ namespace Cryville.Crtr.Browsing.UI { _manager = manager; _manager.ItemChanged += OnItemChanged; _manager.DirectoryChanged += OnDirectoryChanged; - Master.Actions.Register(_importAction = new ImportResourceAction(_manager)); - _importActionArray[0] = _importAction; + if (!_manager.IsReadOnly) { + Master.Actions.Register(_importAction = new ImportResourceAction(_manager)); + _importActionArray[0] = _importAction; + } foreach (var tool in m_writeTools) tool.interactable = !_manager.IsReadOnly; OnEnable();