diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-09-12 21:30:26 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2016-09-13 09:17:19 +0000 |
commit | 9c1e9b27f4cf549d3ed9a6d76e1469a84e447fda (patch) | |
tree | 8570a45d30de834456362f934e6677a19cffc738 /ui | |
parent | 8d2016da9792b494cffd7d34a395ecea728b9407 (diff) | |
download | wireshark-9c1e9b27f4cf549d3ed9a6d76e1469a84e447fda.tar.gz |
qt: fix default action in Time Shift dialog
Use "Apply" as default action, not "Open Help".
Change-Id: Ida9b878732e444bbc450f8e63cc8e30a76f29bdc
Reviewed-on: https://code.wireshark.org/review/17672
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/time_shift_dialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/time_shift_dialog.cpp b/ui/qt/time_shift_dialog.cpp index 4b168d1c27..b5f87ec4e3 100644 --- a/ui/qt/time_shift_dialog.cpp +++ b/ui/qt/time_shift_dialog.cpp @@ -37,6 +37,7 @@ TimeShiftDialog::TimeShiftDialog(QWidget *parent, capture_file *cf) : ts_ui_->setupUi(this); setWindowTitle(wsApp->windowTitleString(tr("Time Shift"))); apply_button_ = ts_ui_->buttonBox->button(QDialogButtonBox::Apply); + apply_button_->setDefault(true); connect(apply_button_, SIGNAL(clicked()), this, SLOT(applyTimeShift())); QStyleOption style_opt; |