Skip to content

Commit

Permalink
Deleting all indexes clears the visual data
Browse files Browse the repository at this point in the history
  • Loading branch information
MajickTek committed Feb 26, 2022
1 parent 91cd5ad commit bcf9010
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
import java.awt.Color;
import javax.swing.JPanel;
import javax.swing.border.BevelBorder;
import javax.swing.border.EtchedBorder;
import javax.swing.JCheckBoxMenuItem;

public class LauncherWindow {
Expand Down Expand Up @@ -192,6 +191,8 @@ public void actionPerformed(ActionEvent e) {
cleanFolderMenuItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
Initializer.cleanFolders();
getList().setModel(new DefaultListModel<VersionObject>());
getList().updateUI();
}
});
editMenu.add(cleanFolderMenuItem);
Expand Down

0 comments on commit bcf9010

Please sign in to comment.