diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-11-10 16:51:41 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-11-13 00:58:43 +0000 |
commit | efe95fa8fd79d4c087ce587143c000dd61218bc0 (patch) | |
tree | 1646e8e0daac281f3b497f11394d252d435a6a77 /ui | |
parent | 7ba0c0cc02573d102a6cc883b1bbb61cc2e27fea (diff) |
Qt: populate Bookmarks menu in capture options dialog
The bookmarks menu is populated for the main window when the
appInitialized signal is emitted, this ensures that any preferences are
applied.
For the Capture Options dialog however, the appInitialized signal is
never triggered since the GUI has already started. Just invoke it from
the constructor such the menu is populated at least once.
Bug: 12986
Change-Id: I04457fd25e52a25714ac471131b90e3a128515d8
Reviewed-on: https://code.wireshark.org/review/18734
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/capture_filter_edit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/capture_filter_edit.cpp b/ui/qt/capture_filter_edit.cpp index 20f48ac0bd..4539e86f03 100644 --- a/ui/qt/capture_filter_edit.cpp +++ b/ui/qt/capture_filter_edit.cpp @@ -220,6 +220,7 @@ CaptureFilterEdit::CaptureFilterEdit(QWidget *parent, bool plain) : this, SLOT(setFilterSyntaxState(QString,int,QString))); connect(syntax_thread, SIGNAL(finished()), syntax_worker_, SLOT(deleteLater())); syntax_thread->start(); + updateBookmarkMenu(); } void CaptureFilterEdit::paintEvent(QPaintEvent *evt) { |