Qt: Preserve capture filter when preferences changed
authorStig Bjørlykke <stig@bjorlykke.org>
Fri, 2 Sep 2016 12:10:31 +0000 (14:10 +0200)
committerAnders Broman <a.broman58@gmail.com>
Fri, 2 Sep 2016 20:02:45 +0000 (20:02 +0000)
commit770aaf1dde2c57687beb0ebe9a3af9003c3c2c14
tree95c6b324f963b3c185a87c6d3130e80bd806b36b
parent893e0e96084fe0e559310d117fb953ddf08c0d6e
Qt: Preserve capture filter when preferences changed

Avoid that the last entry from recent.capture_filter is added to the
capture filter combo when editing preferences or changing profile.

This bug was introduced in gb7897dde.

Change-Id: I38a32386765c9e7ffaa93d006ff0ef7b78ac8252
Reviewed-on: https://code.wireshark.org/review/17453
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
ui/qt/capture_filter_combo.cpp