forked from osmocom/wireshark
Qt: Disable Import Hex Dump IPv6 check box when unused
Only enable the IPv6 option check box when adding a IP header. Improve the tooltip text.
This commit is contained in:
parent
7dc79c9a2f
commit
6343967eef
|
@ -846,6 +846,7 @@ void ImportTextDialog::enableHeaderWidgets(bool enable_ethernet_buttons, bool en
|
|||
ti_ui_->ethertypeLineEdit->setEnabled(ethertype);
|
||||
ti_ui_->protocolLabel->setEnabled(ipv4_proto);
|
||||
ti_ui_->protocolLineEdit->setEnabled(ipv4_proto);
|
||||
ti_ui_->ipv6CheckBox->setEnabled(ip_address);
|
||||
ti_ui_->sourceAddressLabel->setEnabled(ip_address);
|
||||
ti_ui_->sourceAddressLineEdit->setEnabled(ip_address);
|
||||
ti_ui_->destinationAddressLabel->setEnabled(ip_address);
|
||||
|
|
|
@ -572,7 +572,7 @@
|
|||
<item row="3" column="0">
|
||||
<widget class="QCheckBox" name="ipv6CheckBox">
|
||||
<property name="toolTip">
|
||||
<string>Prefix with IPv6 instead of IPv4</string>
|
||||
<string>Prefix with IPv6 header</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>IPv6</string>
|
||||
|
|
Loading…
Reference in New Issue