forked from osmocom/wireshark
packet-editor: Allow focus for byteview, it should fix problems with field hexeditor not getting key-press-event.
Generally it should be also safe for builds without packet-editor, just in case ifdef it. svn path=/trunk/; revision=50172
This commit is contained in:
parent
faecb6b9a8
commit
0426c05d49
|
@ -101,6 +101,9 @@ static void bytes_view_adjustment_set(BytesView *);
|
|||
static void
|
||||
bytes_view_init(BytesView *bv)
|
||||
{
|
||||
#ifdef WANT_PACKET_EDITOR
|
||||
gtk_widget_set_can_focus(GTK_WIDGET(bv), TRUE);
|
||||
#endif
|
||||
bv->context = NULL;
|
||||
|
||||
bv->encoding = PACKET_CHAR_ENC_CHAR_ASCII;
|
||||
|
|
Loading…
Reference in New Issue