Found that #1517 (word export) wasn't fixed, should do in code what I write in the comments...

This commit is contained in:
RKrom 2013-12-11 21:56:42 +01:00
commit 7845b5345e

View file

@ -72,7 +72,7 @@ namespace Greenshot.Interop.Office {
// Bug #1517: image will be inserted into that document, where the focus was last. It will not inserted into the chosen one.
// Solution: Make sure the selected document is active, otherwise the insert will be made in a different document!
try {
wordApplication.Activate();
wordDocument.Activate();
} catch {
}
if (wordApplication.Selection != null) {