Skip to content

Commit

Permalink
Merge pull request #2046 from nadment/HOPCLEARDBCACHE
Browse files Browse the repository at this point in the history
Replace icon clear database cache
  • Loading branch information
hansva authored Dec 12, 2022
2 parents 4cbf496 + 2742190 commit 7caf60b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public MetaSelectionLineClearDbCacheToolbarItem() {}
root = MetaSelectionLine.GUI_PLUGIN_TOOLBAR_PARENT_ID,
id = TOOLBAR_ITEM_CLEAR_CACHE,
toolTip = "Clear the database cache",
image = "ui/images/clear-text.svg")
image = "ui/images/clear.svg")
public void clearDatabaseCache() {
DbCache.getInstance().clear(null);
}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/main/java/org/apache/hop/ui/hopgui/HopGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ public void menuTools() {
label = "i18n::HopGui.Menu.Tools.DatabaseClearCache",
parentId = ID_MAIN_MENU_TOOLS_PARENT_ID,
separator = true,
image = "ui/images/database.svg")
image = "ui/images/clear.svg")
public void menuToolsDatabaseClearCache() {
DbCache.getInstance().clear(null);
}
Expand Down
9 changes: 9 additions & 0 deletions ui/src/main/resources/ui/images/clear.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7caf60b

Please sign in to comment.