Skip to content

Commit

Permalink
Refactoring ollama configuration buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvorka committed Mar 30, 2024
1 parent 1786f26 commit f7c4a4e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/src/qt/dialogs/configuration_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -874,10 +874,13 @@ ConfigurationDialog::WingmanOllamaTab::WingmanOllamaTab(QWidget* parent, QComboB
llmProvidersLayout->addWidget(helpLabel);
llmProvidersLayout->addWidget(urlLabel);
llmProvidersLayout->addWidget(urlEdit);
llmProvidersLayout->addWidget(setOllamaButton);
llmProvidersLayout->addWidget(clearUrlButton);
llmProvidersLayout->addWidget(llmModelsLabel);
llmProvidersLayout->addWidget(llmModelsCombo);
QHBoxLayout* buttonsLayout = new QHBoxLayout{};
buttonsLayout->addWidget(setOllamaButton);
buttonsLayout->addWidget(clearUrlButton);
llmProvidersLayout->addLayout(buttonsLayout);

llmProvidersLayout->addStretch();

QVBoxLayout* layout = new QVBoxLayout();
Expand Down

0 comments on commit f7c4a4e

Please sign in to comment.