diff options
author | Roland Knall <rknall@gmail.com> | 2019-07-11 00:25:45 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2019-07-17 18:25:11 +0000 |
commit | 390071ed0bc8aaf378c3468989ccde1c93817542 (patch) | |
tree | 2e7abfd67e050a42bdd739a105fdf4032782cf9f /ui/profile.c | |
parent | 0696d9349524ae06d17e774f5590a0b94ebae1c9 (diff) |
Qt: Import Profile information
Allow easy import of profiles. Profiles must be stored inside
a zip file, with no additional hierarchy.
Change-Id: I0ae77460c20ef6b3e447906e671b0cefa6b9b032
Reviewed-on: https://code.wireshark.org/review/33881
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/profile.c')
-rw-r--r-- | ui/profile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/profile.c b/ui/profile.c index 786b6bedcb..6b16e4af4f 100644 --- a/ui/profile.c +++ b/ui/profile.c @@ -262,6 +262,8 @@ empty_profile_list(gboolean edit_list) } g_assert(g_list_length(*flpp) == 0); + if ( ! edited_profiles ) + edited_profiles = NULL; } flpp = ¤t_profiles; @@ -271,6 +273,8 @@ empty_profile_list(gboolean edit_list) } g_assert(g_list_length(*flpp) == 0); + if ( ! current_profiles ) + current_profiles = NULL; } void |