diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc
index cd1c190..5db3b16 100644
--- a/libs/ardour/lv2_plugin.cc
+++ b/libs/ardour/lv2_plugin.cc
@@ -1696,6 +1696,7 @@ LV2Plugin::set_state(const XMLNode& node, int version)
 			_world.world, _uri_map.urid_map(), NULL, state_file.c_str());
 
 		lilv_state_restore(state, _impl->instance, NULL, NULL, 0, NULL);
+		_impl->state = state;
 	}
 
 	latency_compute_run();
