autoload first profile

This commit is contained in:
Radek Davidek 2026-04-14 16:57:01 +02:00
parent 01e04008fd
commit 9283f4e766
2 changed files with 10 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#Llama Runner Configuration #Llama Runner Configuration
#Tue Apr 14 16:53:17 CEST 2026 #Tue Apr 14 16:56:36 CEST 2026
windowHeight=1189 windowHeight=1281
windowWidth=684 windowWidth=665
windowX=1876 windowX=1895
windowY=210 windowY=118

View File

@ -140,6 +140,10 @@ public class Main extends JFrame {
SwingUtilities.invokeLater(() -> { SwingUtilities.invokeLater(() -> {
loadModels(); loadModels();
loadProfiles(); loadProfiles();
if (profileComboBox.getItemCount() > 0) {
profileComboBox.setSelectedIndex(0);
showLoadProfileDialog();
}
updateCommandPreview(); updateCommandPreview();
}); });
} }
@ -162,7 +166,7 @@ public class Main extends JFrame {
BorderFactory.createLineBorder(Color.WHITE), "Model")); BorderFactory.createLineBorder(Color.WHITE), "Model"));
GridBagConstraints gbc = new GridBagConstraints(); GridBagConstraints gbc = new GridBagConstraints();
gbc.insets = new Insets(5, 5, 5, 5); gbc.insets = new Insets(0, 0, 0, 0);
gbc.anchor = GridBagConstraints.WEST; gbc.anchor = GridBagConstraints.WEST;
// Label // Label