Skip to content

Commit

Permalink
Merge pull request #228 from deadlocker8/v1_7_1
Browse files Browse the repository at this point in the history
merge v1_7_1 into master
  • Loading branch information
deadlocker8 authored Nov 7, 2017
2 parents 3959404 + 1dc14e6 commit e8ae4cd
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 32 deletions.
2 changes: 1 addition & 1 deletion BudgetMasterClient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.deadlocker8</groupId>
<artifactId>BudgetMasterClient</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
<name>BudgetMasterClient</name>
<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,30 +119,26 @@ public void prefill()
{
textFieldURL.setText(controller.getSettings().getUrl());
textFieldSecret.setText("******");
textFieldCurrency.setText(controller.getSettings().getCurrency());
if(controller.getSettings().isRestActivated())
{
radioButtonRestActivated.setSelected(true);
}
else
{
radioButtonRestDeactivated.setSelected(true);
}
setTextAreaTrustedHosts(controller.getSettings().getTrustedHosts());

if(controller.getSettings().getLanguage() != null)
{
LanguageType language = controller.getSettings().getLanguage();
comboBoxLanguage.setValue(language);
previousLanguage = language;
}

checkboxEnableAutoUpdate.setSelected(controller.getSettings().isAutoUpdateCheckEnabled());
textFieldCurrency.setText(controller.getSettings().getCurrency());
}

if(controller.getSettings().isRestActivated())
{
radioButtonRestActivated.setSelected(true);
}
else
{
radioButtonRestDeactivated.setSelected(true);
}
setTextAreaTrustedHosts(controller.getSettings().getTrustedHosts());
if(controller.getSettings().getLanguage() != null)
{
LanguageType language = controller.getSettings().getLanguage();
comboBoxLanguage.setValue(language);
previousLanguage = language;
}

checkboxEnableAutoUpdate.setSelected(controller.getSettings().isAutoUpdateCheckEnabled());
}

private void refreshLabelsUpdate()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# DEFAULT
app.name=BudgetMaster
version.code=11
version.name=1.7.0
version.date=26.10.17
version.code=12
version.name=1.7.1
version.date=07.11.17
author=Robert Goldmann
credits=Länderflaggen von Freepik auf https://www.flaticon.com\nVerwendete Schriftarten: OpenSans

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# DEFAULT
app.name=BudgetMaster
version.code=11
version.name=1.7.0
version.date=26.10.17
version.code=12
version.name=1.7.1
version.date=07.11.17
author=Robert Goldmann
credits=Flags by Freepik on https://www.flaticon.com\nFonts used: OpenSans

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ public class Settings
private String url;
private String secret;
private String currency;
private boolean restActivated;
private boolean restActivated = true;
private ArrayList<String> trustedHosts;
private LanguageType language;
private boolean autoUpdateCheckEnabled;
private LanguageType language = LanguageType.ENGLISH;
private boolean autoUpdateCheckEnabled = true;

public Settings()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static Settings loadSettings()
reader.close();
return settings;
}
catch(IOException e)
catch(Exception e)
{
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion BudgetMasterServer/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
Expand Down
2 changes: 1 addition & 1 deletion BudgetMasterServer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.deadlocker8</groupId>
<artifactId>BudgetMasterServer</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
<name>BudgetMasterServer</name>
<build>
<plugins>
Expand Down
Binary file modified build/BudgetMaster.exe
Binary file not shown.
Binary file modified build/BudgetMasterClient.jar
Binary file not shown.
Binary file modified build/BudgetMasterServer.jar
Binary file not shown.

0 comments on commit e8ae4cd

Please sign in to comment.