summaryrefslogtreecommitdiff
path: root/ui/qt/time_shift_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/time_shift_dialog.cpp')
-rw-r--r--ui/qt/time_shift_dialog.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/qt/time_shift_dialog.cpp b/ui/qt/time_shift_dialog.cpp
index bbfbf05a0c..4b168d1c27 100644
--- a/ui/qt/time_shift_dialog.cpp
+++ b/ui/qt/time_shift_dialog.cpp
@@ -262,7 +262,13 @@ void TimeShiftDialog::applyTimeShift()
} else if (ts_ui_->unshiftAllButton->isChecked()) {
err_str = time_shift_undo(cap_file_);
}
- if (err_str) syntax_err_ = err_str;
+
+ if (err_str) {
+ syntax_err_ = err_str;
+ } else {
+ emit timeShifted();
+ }
+
enableWidgets();
}