Рефакт Администрирование БД 2

This commit is contained in:
2025-11-05 23:50:10 +03:00
parent 99d9c6d1e3
commit 2d91b18bfb
8 changed files with 61 additions and 35 deletions

View File

@@ -277,10 +277,6 @@ void DialogSettingsTray::on_btnCheckDB_clicked()
return;
}
//Имитация
//UserNamePostgres = "postgres";
//PasswordPostgres = "12345678";
if(providerDBLMS->setUserPasswordPostgres(UserNamePostgres, PasswordPostgres))
{
DialogCheckDB dlgCheckDB(providerDBLMS, this);
@@ -289,6 +285,8 @@ void DialogSettingsTray::on_btnCheckDB_clicked()
switch( dlgCheckDB.exec() )
{
case QDialog::Accepted:
ui->btnSave->setEnabled(true);
flSettingsServerChanged = true;
break;
case QDialog::Rejected:
break;