diff options
author | Irene RĂ¼ngeler <I.Ruengeler@fh-muenster.de> | 2013-11-12 10:22:27 +0000 |
---|---|---|
committer | Irene RĂ¼ngeler <I.Ruengeler@fh-muenster.de> | 2013-11-12 10:22:27 +0000 |
commit | ecad80964528b40f3c446b041c7c022f96aa01de (patch) | |
tree | c8d7690a5a9243317f6cfd4871272cc32c015efc /ui | |
parent | 480869402df9dd139b63c2c52881644be2bde8d7 (diff) | |
download | wireshark-ecad80964528b40f3c446b041c7c022f96aa01de.tar.gz |
Fix segfault bug and show the combo-box.
svn path=/trunk/; revision=53272
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/uat_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/uat_dialog.cpp b/ui/qt/uat_dialog.cpp index 515863cd7b..f9d7207da8 100644 --- a/ui/qt/uat_dialog.cpp +++ b/ui/qt/uat_dialog.cpp @@ -276,7 +276,7 @@ void UatDialog::on_uatTreeWidget_itemActivated(QTreeWidgetItem *item, int column case PT_TXTMOD_ENUM: { cur_combo_box_ = new QComboBox(); // const enum_val_t *ev; - const value_string *enum_vals = (const value_string *)field[column].fld_data; + const value_string *enum_vals = (const value_string *)field->fld_data; for (int i = 0; enum_vals[i].strptr != NULL; i++) { cur_combo_box_->addItem(enum_vals[i].strptr, QVariant(enum_vals[i].value)); if (item->text(column).compare(enum_vals[i].strptr) == 0) { |