-Smart proxy default
This commit is contained in:
tonikelope 2018-05-17 19:57:11 +02:00
parent 954a6e20ed
commit b160bff5e5
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Component id="jTabbedPane1" pref="530" max="32767" attributes="0"/>
<Component id="jTabbedPane1" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="cancel_button" min="-2" max="-2" attributes="0"/>

View File

@ -1458,7 +1458,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
settings.put("megacrypter_reverse", megacrypter_reverse_checkbox.isSelected() ? "yes" : "no");
settings.put("megacrypter_reverse_port", String.valueOf(megacrypter_reverse_port_spinner.getValue()));
settings.put("smart_proxy", smart_proxy_checkbox.isSelected() ? "yes" : "no");
settings.put("smart_proxy_url", smart_proxy_url_text.getText());
settings.put("smart_proxy_url", !smart_proxy_url_text.getText().equals("") ? smart_proxy_url_text.getText() : DEFAULT_SMART_PROXY_URL);
String old_zoom = DBTools.selectSettingValue("font_zoom");