Fix regression where Ctrl+X is copying not cutting (#3486)

fix nodegraph cut regression
This commit is contained in:
Timon 2025-12-18 08:40:54 +00:00 committed by GitHub
parent 57055e373e
commit b97978e91d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -316,7 +316,7 @@ impl MessageHandler<PortfolioMessage, PortfolioMessageContext<'_>> for Portfolio
if let Some(active_document) = self.active_document()
&& active_document.graph_view_overlay_open()
{
responses.add(NodeGraphMessage::Copy);
responses.add(NodeGraphMessage::Cut);
return;
}