fix: small style changes

This commit is contained in:
Petr Mironychev 2025-01-24 01:50:56 +01:00
parent 97163cf6c9
commit 928490d31f
2 changed files with 10 additions and 7 deletions

View File

@ -60,12 +60,6 @@ Rectangle {
text: qsTr("Stop")
}
CheckBox {
id: syncOpenFilesId
text: qsTr("Sync open files with model context")
}
QoAButton {
id: attachFilesId
@ -88,6 +82,15 @@ Rectangle {
text: qsTr("Link files")
}
CheckBox {
id: syncOpenFilesId
text: qsTr("Sync open files")
ToolTip.visible: syncOpenFilesId.hovered
ToolTip.text: qsTr("Automatically synchronize currently opened files with the model context")
}
Item {
Layout.fillWidth: true
}

View File

@ -290,8 +290,8 @@ void GeneralSettings::showUrlSelectionDialog(
auto cancelButton = new QPushButton(TrConstants::CANCEL);
connect(cancelButton, &QPushButton::clicked, &dialog, &QDialog::reject);
dialog.buttonLayout()->addWidget(okButton);
dialog.buttonLayout()->addWidget(cancelButton);
dialog.buttonLayout()->addWidget(okButton);
urlList->setFocus();
dialog.exec();