Skip to content

Commit

Permalink
Fixes #16107
Browse files Browse the repository at this point in the history
  • Loading branch information
AliveDevil committed Jul 8, 2024
1 parent 634bb44 commit c2d5f09
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -928,13 +928,11 @@ private void Init()
View.ConfirmDisconnect = PreferencesFactory.get().getBoolean("browser.disconnect.confirm");
View.UseKeychain = PreferencesFactory.get().getBoolean("connection.login.keychain");
PopulateDefaultProtocols();
View.DefaultProtocol =
ProtocolFactory.get().forName(PreferencesFactory.get().getProperty("connection.protocol.default"));
View.DefaultProtocol = ProtocolFactory.get().forNameOrDefault(
PreferencesFactory.get().getProperty("connection.protocol.default"));
View.AlternatingRowBackground = PreferencesFactory.get().getBoolean("browser.alternatingRows");
View.VerticalLines = PreferencesFactory.get().getBoolean("browser.verticalLines");
View.HorizontalLines = PreferencesFactory.get().getBoolean("browser.horizontalLines");
View.DefaultProtocol = ProtocolFactory.get().forNameOrDefault(
PreferencesFactory.get().getProperty("connection.protocol.default"));
PopulateEncodings();
View.DefaultEncoding = PreferencesFactory.get().getProperty("browser.charset.encoding");

Expand Down

0 comments on commit c2d5f09

Please sign in to comment.