mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
No need to l10n this, but NonNls is not working (why?) so let's avoid accessing that prop entirely.
GitOrigin-RevId: e247357175c1c19974dc425d27d0c61cb90560bd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f464d05de8
commit
66fdaf6c55
@@ -133,7 +133,16 @@ public class SettingsPage implements Configurable {
|
||||
}
|
||||
|
||||
void reset() {
|
||||
webBrowserList.setSelectedItem(Utils.getStoredValue(USE_BROWSER, BuiltInHelpBundle.message("use.default.browser")));
|
||||
final String storedSelection = Utils.getStoredValue(USE_BROWSER, BuiltInHelpBundle.message("use.default.browser"));
|
||||
int totalItems = webBrowserList.getItemCount();
|
||||
|
||||
for (int i = 0; i < totalItems; i++) {
|
||||
if (webBrowserList.getItemAt(i).equals(storedSelection)) {
|
||||
webBrowserList.setSelectedIndex(i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
openWebSite.setSelected(Boolean.valueOf(Utils.getStoredValue(OPEN_HELP_FROM_WEB, "true")));
|
||||
baseUrl.setText(Utils.getStoredValue(OPEN_HELP_BASE_URL, Utils.BASE_HELP_URL));
|
||||
modified = false;
|
||||
|
||||
Reference in New Issue
Block a user