Fix error in CloneView result

This commit is contained in:
Gaute Lindkvist
2019-08-26 10:01:40 +02:00
parent e7f90c0ecf
commit 51793ea7b3

View File

@@ -64,7 +64,7 @@ RicfCommandResponse RicfCloneView::execute()
Riu3DMainWindowTools::setExpanded(view);
}
if (newViewId)
if (newViewId >= 0)
{
RicfCommandResponse response;
response.setResult(new RicfCreateViewResult(newViewId));