diff --git a/ApplicationCode/CommandFileInterface/RicfCloneView.cpp b/ApplicationCode/CommandFileInterface/RicfCloneView.cpp index ddc039ac9b..f682f47f44 100644 --- a/ApplicationCode/CommandFileInterface/RicfCloneView.cpp +++ b/ApplicationCode/CommandFileInterface/RicfCloneView.cpp @@ -64,7 +64,7 @@ RicfCommandResponse RicfCloneView::execute() Riu3DMainWindowTools::setExpanded(view); } - if (newViewId) + if (newViewId >= 0) { RicfCommandResponse response; response.setResult(new RicfCreateViewResult(newViewId));