Forráskód Böngészése

Bug fix in SettingsWidget::onBackupSettingsInfoChanged

Ivan Arkhipov 5 éve
szülő
commit
04ee7db15c
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      src/Legacy/widgets/settingswidget.cpp

+ 3 - 1
src/Legacy/widgets/settingswidget.cpp

@@ -224,11 +224,13 @@ void SettingsWidget::onBackupSettingsInfoChanged()
 {
     settings_backup_["Backup/installed"] = Settings::getValue("Backup/installed");
     settings_backup_["Backup/path"] = Settings::getValue("Backup/path");
-    settings_backup_["Backup/creation_time"] = Settings::getValue("Backup/path");
+    settings_backup_["Backup/creation_time"] = Settings::getValue("Backup/creation_time");
 
     QString backup_status = Settings::getValue("Backup/installed").toBool() ? "Активна" : "Отсутствует";
     ui->backup_status_value->setText(backup_status);
+
     ui->backup_path_value->setText(QApplication::applicationDirPath() + Settings::getValue("Backup/path").toString());
+
     QString backup_creation_time = Settings::getValue("Backup/creation_time").toString();
     if (backup_creation_time == "none")
         backup_creation_time = "-";