Fix regression where Ctrl+X is copying not cutting (#3486)
fix nodegraph cut regression
This commit is contained in:
parent
57055e373e
commit
b97978e91d
|
|
@ -316,7 +316,7 @@ impl MessageHandler<PortfolioMessage, PortfolioMessageContext<'_>> for Portfolio
|
||||||
if let Some(active_document) = self.active_document()
|
if let Some(active_document) = self.active_document()
|
||||||
&& active_document.graph_view_overlay_open()
|
&& active_document.graph_view_overlay_open()
|
||||||
{
|
{
|
||||||
responses.add(NodeGraphMessage::Copy);
|
responses.add(NodeGraphMessage::Cut);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue