fix an issue that broken link remains after undoing Node/Ref on Node/Network

This commit is contained in:
2022-11-12 21:28:01 +09:00
parent 5894a303dd
commit 3720893946

View File

@@ -63,7 +63,6 @@ class Ref final : public nf7::FileBase, public nf7::Node {
log_(std::make_shared<nf7::LoggerRef>(*this)),
mem_(*this, std::move(data)) {
mem_.onRestore = mem_.onCommit = [this]() {
SyncQuiet();
SetUpWatcher();
};
}