diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2013-02-20 22:08:00 +0000 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2013-02-20 22:08:00 +0000 |
commit | 18ec6f01a3fb21c3ac5d6ddc1e9d06ec845c2d2b (patch) | |
tree | 9d7ee4f881e0b9e357aa0ed491df01c0e74f2630 /ui/gtk/main_statusbar.c | |
parent | f14ad04d4d25c0fa5edeae968b4efed878355217 (diff) | |
download | wireshark-18ec6f01a3fb21c3ac5d6ddc1e9d06ec845c2d2b.tar.gz |
kill an "edit capture comment" popup if the underlying file is closed
(at the moment, the edit window remains open even if the file is closed or
changed, this allows effectively to overwrite a file's capture commment with
the capture comment of a previously used file)
svn path=/trunk/; revision=47779
Diffstat (limited to 'ui/gtk/main_statusbar.c')
-rw-r--r-- | ui/gtk/main_statusbar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/main_statusbar.c b/ui/gtk/main_statusbar.c index 0d363a0324..ea5145664d 100644 --- a/ui/gtk/main_statusbar.c +++ b/ui/gtk/main_statusbar.c @@ -675,6 +675,8 @@ status_capture_comment_new(void) static void status_capture_comment_hide(void) { + edit_capture_comment_dlg_hide(); + /* reset capture coment info indicator */ gtk_widget_hide(capture_comment); gtk_widget_hide(capture_comment_none); |