Reloads files on resource imported to legacy resource browser.
This commit is contained in:
@@ -53,7 +53,6 @@ namespace Cryville.Crtr.Browsing {
|
|||||||
|
|
||||||
public void Activate() {
|
public void Activate() {
|
||||||
_watcher.EnableRaisingEvents = !string.IsNullOrEmpty(_watcher.Path);
|
_watcher.EnableRaisingEvents = !string.IsNullOrEmpty(_watcher.Path);
|
||||||
ReloadFiles();
|
|
||||||
}
|
}
|
||||||
public void Deactivate() {
|
public void Deactivate() {
|
||||||
_watcher.EnableRaisingEvents = false;
|
_watcher.EnableRaisingEvents = false;
|
||||||
@@ -214,6 +213,7 @@ namespace Cryville.Crtr.Browsing {
|
|||||||
LogAndPopup(3, "Attempt to import unsupported resource: {0}", res);
|
LogAndPopup(3, "Attempt to import unsupported resource: {0}", res);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ReloadFiles();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user