diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-07-31 22:12:41 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-07-31 22:12:41 +0000 |
commit | 6791192b9760e17070bc942c583bdc74234ee9a0 (patch) | |
tree | ddb06d81bbb8f38f85cafe1cc4de8dd438a7eab5 /ui/win32 | |
parent | 5f501f83b165f4ef1c6b9b924391a45402ca7300 (diff) | |
download | wireshark-6791192b9760e17070bc942c583bdc74234ee9a0.tar.gz |
Don't overwrite preview item labels.
svn path=/trunk/; revision=44173
Diffstat (limited to 'ui/win32')
-rw-r--r-- | ui/win32/file_dlg_win32.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/win32/file_dlg_win32.c b/ui/win32/file_dlg_win32.c index d0ea400554..692d099a64 100644 --- a/ui/win32/file_dlg_win32.c +++ b/ui/win32/file_dlg_win32.c @@ -1402,6 +1402,12 @@ preview_set_file_info(HWND of_hwnd, gchar *preview_file) { cur_ctrl = GetDlgItem(of_hwnd, i); if (cur_ctrl) { EnableWindow(cur_ctrl, FALSE); + } + } + + for (i = EWFD_PTX_FORMAT; i <= EWFD_PTX_ELAPSED; i++) { + cur_ctrl = GetDlgItem(of_hwnd, i); + if (cur_ctrl) { SetWindowText(cur_ctrl, _T("-")); } } |