소스 검색

Bug fix in SettingsWidget::onBackupSettingsInfoChanged

Ivan Arkhipov 5 년 전
부모
커밋
04ee7db15c
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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 = "-";