Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ General Public License v2 (GPLv2). See LICENSES directory or go to
- **Breaking**: Minimal Python version 3.13 increased
- Changelog migrated to _Common Changelog_ standard
- Build: Changelog shipped as HTML
- Improved import config dialog on first start (Dominic Maluski, @maluskid, [#2483](https://github.com/bit-team/backintime/issues/2483))

### Added
- Gocryptfs for SSH encrypted profiles
Expand All @@ -42,9 +43,6 @@ General Public License v2 (GPLv2). See LICENSES directory or go to
## Fixed
- Prevent crash in case a plugin fails ([#2447](https://github.com/bit-team/backintime/issues/2447))

## Fixed
- Prevent Back In Time crash when a plugin fails ([#2447](https://github.com/bit-team/backintime/issues/2447))

## [1.6.1] (2026-02-10)

### Fixed
Expand Down
25 changes: 18 additions & 7 deletions qt/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
QLineEdit,
QMainWindow,
QMenu,
QMessageBox,
QStackedLayout,
QSplitter,
QToolBar,
Expand Down Expand Up @@ -344,15 +345,25 @@ def _import_config_from_backup(self):
).format(app_name=self.config.APP_NAME)
message = f'{message}\n\n'
message = message + _(
'Import an existing configuration from a backup location '
'or another computer?'
'Create a new configuration or import an existing '
'configuration from a backup?'
)

answer = messagebox.question(text=message)

mark_main_profile_unsaved = False if answer else True

if answer:
import_prompt = QMessageBox(None)
import_prompt.setWindowTitle(_('Question'))
import_prompt.setText(message)
import_prompt.setIcon(QMessageBox.Icon.Question)
btn_create = import_prompt.addButton(_('Create'),
QMessageBox.ButtonRole.ActionRole)
btn_import = import_prompt.addButton(_('Import'),
QMessageBox.ButtonRole.ActionRole)

import_prompt.setDefaultButton(btn_create)
import_prompt.exec()
answer = import_prompt.clickedButton()

mark_main_profile_unsaved = answer is btn_create
if answer == btn_import:
rc = RestoreConfigDialog(self.config).exec()
if rc == QDialog.DialogCode.Rejected:
mark_main_profile_unsaved = True
Expand Down