Skip to content

Commit 0f48d9d

Browse files
committed
Changed bookmarks manager to force focus back after adding bookmarks.
1 parent a966924 commit 0f48d9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

brailleblaster-core/src/main/java/org/brailleblaster/tools/InsertBookmarkTool.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ class InsertBookmarkTool(parent: Manager) : Dialog(parent.wpManager.shell, SWT.N
8585
getBookmarksXPath(bbData).forEach {
8686
bookmarksList.add(it)
8787
}
88+
shell.forceFocus()
8889
}
8990
}
9091

@@ -100,6 +101,7 @@ class InsertBookmarkTool(parent: Manager) : Dialog(parent.wpManager.shell, SWT.N
100101
getBookmarksXPath(bbData).forEach {
101102
bookmarksList.add(it)
102103
}
104+
shell.forceFocus()
103105
}
104106
}
105107

0 commit comments

Comments
 (0)