mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +00:00
Put the add and delete profile buttons in reasonable places
This commit is contained in:
parent
1903131a32
commit
1acd3e5a8f
1 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, LauncherCore& core, QWidg
|
|||
connect(profileWidget, &QListWidget::currentRowChanged, this,
|
||||
&SettingsWindow::reloadControls);
|
||||
|
||||
profileLayout->addWidget(profileWidget, 0, 0, 0, 1);
|
||||
profileLayout->addWidget(profileWidget, 0, 0, 3, 1);
|
||||
|
||||
auto addProfileButton = new QPushButton("Add Profile");
|
||||
connect(addProfileButton, &QPushButton::pressed, [=] {
|
||||
|
@ -66,7 +66,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, LauncherCore& core, QWidg
|
|||
|
||||
this->core.saveSettings();
|
||||
});
|
||||
profileLayout->addWidget(addProfileButton, 2, 0);
|
||||
profileLayout->addWidget(addProfileButton, 3, 0);
|
||||
|
||||
deleteProfileButton = new QPushButton("Delete Profile");
|
||||
connect(deleteProfileButton, &QPushButton::pressed, [=] {
|
||||
|
@ -75,7 +75,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, LauncherCore& core, QWidg
|
|||
|
||||
this->core.saveSettings();
|
||||
});
|
||||
profileLayout->addWidget(deleteProfileButton, 3, 0);
|
||||
profileLayout->addWidget(deleteProfileButton, 0, 2);
|
||||
|
||||
nameEdit = new QLineEdit();
|
||||
connect(nameEdit, &QLineEdit::editingFinished, [=] {
|
||||
|
|
Loading…
Add table
Reference in a new issue