Skip to content
Snippets Groups Projects
Commit 1fc78a4a authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #156 - refresh after database import and delete

parent e63a2ae5
No related branches found
No related tags found
1 merge request!160merge v1_4_0 into master
...@@ -360,6 +360,7 @@ public class SettingsController ...@@ -360,6 +360,7 @@ public class SettingsController
{ {
modalStage.close(); modalStage.close();
} }
AlertGenerator.showAlert(AlertType.INFORMATION, AlertGenerator.showAlert(AlertType.INFORMATION,
Localization.getString(Strings.INFO_TITLE_DATABASE_IMPORT), Localization.getString(Strings.INFO_TITLE_DATABASE_IMPORT),
"", "",
...@@ -368,6 +369,8 @@ public class SettingsController ...@@ -368,6 +369,8 @@ public class SettingsController
controller.getStage(), controller.getStage(),
null, null,
false); false);
controller.refresh(controller.getFilterSettings());
}); });
} }
catch(Exception e) catch(Exception e)
...@@ -383,6 +386,10 @@ public class SettingsController ...@@ -383,6 +386,10 @@ public class SettingsController
} }
}); });
} }
else
{
controller.refresh(controller.getFilterSettings());
}
} }
public void importDB() public void importDB()
...@@ -448,6 +455,10 @@ public class SettingsController ...@@ -448,6 +455,10 @@ public class SettingsController
{ {
importDatabase(); importDatabase();
} }
else
{
controller.refresh(controller.getFilterSettings());
}
} }
}); });
} }
......
...@@ -23,7 +23,7 @@ public class Main ...@@ -23,7 +23,7 @@ public class Main
public static void main(String[] args) public static void main(String[] args)
{ {
Localization.init("de/deadlocker8/budgetmaster/main/"); Localization.init("de/deadlocker8/budgetmaster/resources/");
Localization.loadLanguage(Locale.GERMANY); Localization.loadLanguage(Locale.GERMANY);
Logger.setLevel(LogLevel.ALL); Logger.setLevel(LogLevel.ALL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment