We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4025637 commit a80fc9cCopy full SHA for a80fc9c
main.go
@@ -306,14 +306,13 @@ func annotate(page int) {
306
mainStack.SetVisibleChildName("continue-in-inkscape")
307
308
go func() {
309
- defer mainWin.SetSensitive(true)
310
- defer mainStack.SetVisibleChildName("pages")
311
-
312
sessMu.Lock()
313
changed, err := sess.Annotate(page)
314
sessMu.Unlock()
315
316
glib.IdleAdd(func() {
+ mainWin.SetSensitive(true)
+ mainStack.SetVisibleChildName("pages")
317
if err != nil {
318
showErrMsg("Cannot annotate file", err.Error())
319
return
0 commit comments