fix: minor UI adjustments

This commit is contained in:
lantzelot-swe 2021-03-22 21:42:57 +01:00
parent faf6827164
commit 15b7fe4bc9
2 changed files with 2 additions and 2 deletions

View File

@ -314,7 +314,7 @@ public class MenuManager
private JMenuItem getDeleteAllGamesItem() private JMenuItem getDeleteAllGamesItem()
{ {
deleteAllGamesItem = new JMenuItem("Delete all games"); deleteAllGamesItem = new JMenuItem("Delete all games in database");
deleteAllGamesItem.addActionListener(e -> deleteAllGames()); deleteAllGamesItem.addActionListener(e -> deleteAllGames());
return deleteAllGamesItem; return deleteAllGamesItem;
} }

View File

@ -203,7 +203,7 @@ public class GameBaseOptionsPanel extends JPanel
systemPanel.add(getVic20RadioButton(), gbc_vic20RadioButton); systemPanel.add(getVic20RadioButton(), gbc_vic20RadioButton);
//Set initial selected system based on selected file in SelectDirPanel //Set initial selected system based on selected file in SelectDirPanel
File selectedDir = getSelectDirPanel().getTargetDirectory(); File selectedDir = getSelectDirPanel().getTargetDirectory();
if (selectedDir.toString().contains("Vic")) if (selectedDir.toString().contains("Vic20"))
{ {
getVic20RadioButton().setSelected(true); getVic20RadioButton().setSelected(true);
} }