mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Found that #1517 (word export) wasn't fixed, should do in code what I write in the comments...
This commit is contained in:
parent
8e694ab96c
commit
7845b5345e
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
// 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!
|
// Solution: Make sure the selected document is active, otherwise the insert will be made in a different document!
|
||||||
try {
|
try {
|
||||||
wordApplication.Activate();
|
wordDocument.Activate();
|
||||||
} catch {
|
} catch {
|
||||||
}
|
}
|
||||||
if (wordApplication.Selection != null) {
|
if (wordApplication.Selection != null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue