Ensure we pop any previous loaded filename from the statusbar

when loading a new file with a file already loaded.

svn path=/trunk/; revision=23425
This commit is contained in:
Stig Bjørlykke 2007-11-10 21:59:20 +00:00
parent c6b3bc723f
commit 6e3a2bdbf1
1 changed files with 3 additions and 0 deletions

View File

@ -1549,6 +1549,9 @@ main_cf_cb_file_read_start(capture_file *cf)
const gchar *name_ptr;
gchar *load_msg;
/* Ensure we pop any previous loaded filename */
statusbar_pop_file_msg();
name_ptr = get_basename(cf->filename);
load_msg = g_strdup_printf(" Loading: %s", name_ptr);