- Display current version in fields when the combobox value is changed (Peer ID spoofing)

This commit is contained in:
Christophe Dumez 2009-12-30 15:55:21 +00:00
parent 2168d5a30e
commit 77b4d97069

View file

@ -805,7 +805,7 @@ void options_imp::enableSpoofingSettings(int index) {
resetPeerVersion_button->setEnabled(true);
version_label->setEnabled(true);
client_version->setEnabled(true);
client_version->setText(Preferences::getClientVersion());
client_version->setText(Preferences::getDefaultClientVersion("AZ"));
build_label->setEnabled(false);
client_build->setEnabled(false);
client_build->clear();
@ -814,10 +814,10 @@ void options_imp::enableSpoofingSettings(int index) {
resetPeerVersion_button->setEnabled(true);
version_label->setEnabled(true);
client_version->setEnabled(true);
client_version->setText(Preferences::getClientVersion());
client_version->setText(Preferences::getDefaultClientVersion("UT"));
build_label->setEnabled(true);
client_build->setEnabled(true);
client_build->setText(Preferences::getClientBuild());
client_build->setText(Preferences::getDefaultClientBuild("UT"));
break;
}
}