Skip to content

Commit

Permalink
Refresh table before add
Browse files Browse the repository at this point in the history
  • Loading branch information
cak committed Dec 18, 2019
1 parent 97f3892 commit 38a2575
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BookmarkMenu.kt
Expand Up @@ -9,6 +9,7 @@ class BookmarkMenu(private val table: BookmarksPanel) : IContextMenuFactory {
val bookmarkButton = JMenuItem("Add bookmark(s) [^]")
bookmarkButton.addActionListener {
if (requests != null) {
table.model.refreshBookmarks()
table.addBookmark(requests)
}
}
Expand Down

0 comments on commit 38a2575

Please sign in to comment.