mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 23:23:01 -06:00
Fix error in CloneView result
This commit is contained in:
parent
e7f90c0ecf
commit
51793ea7b3
@ -64,7 +64,7 @@ RicfCommandResponse RicfCloneView::execute()
|
|||||||
Riu3DMainWindowTools::setExpanded(view);
|
Riu3DMainWindowTools::setExpanded(view);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (newViewId)
|
if (newViewId >= 0)
|
||||||
{
|
{
|
||||||
RicfCommandResponse response;
|
RicfCommandResponse response;
|
||||||
response.setResult(new RicfCreateViewResult(newViewId));
|
response.setResult(new RicfCreateViewResult(newViewId));
|
||||||
|
Loading…
Reference in New Issue
Block a user