From f56a2a33143116f28c2536e98d4e4aff59bf9627 Mon Sep 17 00:00:00 2001 From: Bent Witthold Date: Fri, 8 May 2026 14:45:42 +0200 Subject: [PATCH] Settings dialog: Enabling the line edits for email and password. --- dialogs/settingsdialog.cpp | 2 -- mainwindow.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dialogs/settingsdialog.cpp b/dialogs/settingsdialog.cpp index f4f129f..0f92986 100644 --- a/dialogs/settingsdialog.cpp +++ b/dialogs/settingsdialog.cpp @@ -27,12 +27,10 @@ void SettingsDialog::createContent() { serverLayout->addWidget(m_urlEdit, 0, 1); QLabel* emailLabel = new QLabel("Email:"); m_emailEdit = new QLineEdit(); - m_emailEdit->setEnabled(false); serverLayout->addWidget(emailLabel, 1, 0); serverLayout->addWidget(m_emailEdit, 1, 1); QLabel* passwordLabel = new QLabel("Password:"); m_passwordEdit = new QLineEdit(); - m_passwordEdit->setEnabled(false); m_passwordEdit->setEchoMode(QLineEdit::Password); serverLayout->addWidget(passwordLabel, 2, 0); serverLayout->addWidget(m_passwordEdit, 2, 1); diff --git a/mainwindow.cpp b/mainwindow.cpp index a9557fa..c0c3184 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -301,7 +301,7 @@ void MainWindow::fetchItems() { } void MainWindow::postItems() { - showStatusMessage(tr("Invoked 'Server|Post items'")); + showStatusMessage(tr("Invoked 'Server|Send items'")); const QModelIndex currentIndex = ui->tableView->currentIndex(); const QByteArray jsonData = m_proxyModel->jsonDataForServer(currentIndex); emit m_core->sendItemToServer(jsonData);