Fixing wrong result value in ScreenshotCommand.
authorMichael Schuldt <michael.schuldt@bmw-carit.de>
Tue, 5 Jul 2011 06:24:56 +0000 (09:24 +0300)
committerMichael Schuldt <michael.schuldt@bmw-carit.de>
Tue, 5 Jul 2011 06:24:56 +0000 (09:24 +0300)
* Due to the refactorin, the ScreenshotCommand does not trigger the
  redraw anymore
* fixed this issue and the ScreenShotCommand is now working.

LayerManagerCommands/src/ScreenShotCommand.cpp

index 0831a52..8217a5b 100644 (file)
@@ -101,7 +101,7 @@ ExecutionResult ScreenShotCommand::execute(ICommandExecutor* executor)
             }
         }
     }
-    return status ? ExecutionSuccess : ExecutionFailed;
+    return status ? ExecutionSuccessRedraw : ExecutionFailed;
 }
 
 const std::string ScreenShotCommand::getString()