Skip to content

Commit

Permalink
Fixed overwrite existing string selected bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Airsaid committed Oct 14, 2018
1 parent ba332cb commit 95b1663
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Binary file modified AndroidLocalizePlugin.zip
Binary file not shown.
3 changes: 3 additions & 0 deletions src/ui/SelectLanguageDialog.java
Expand Up @@ -86,6 +86,9 @@ private JComponent doCreateCenterPanel() {
PropertiesComponent.getInstance(mProject)
.setValue(Constants.KEY_IS_OVERWRITE_EXISTING_STRING, state == ItemEvent.SELECTED);
});
boolean isOverwriteExistingString = PropertiesComponent.getInstance(mProject)
.getBoolean(Constants.KEY_IS_OVERWRITE_EXISTING_STRING);
overwriteExistingString.setSelected(isOverwriteExistingString);
// add language
mSelectLanguages.clear();
List<LANG> supportLanguages = new GoogleTranslator().getSupportLang();
Expand Down

0 comments on commit 95b1663

Please sign in to comment.