Skip to content

Commit

Permalink
(#129) Fix settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jibedoubleve committed Mar 8, 2023
1 parent 5762517 commit 691e9d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Lanceur.Infra.SQLite/SQLiteAppSettingsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ from settings
settings.Repository.ScoreLimit = val.CastToInt();

s.TryGetValue("Window.Position.Left", out val);
settings.Window.Position.Left = val.CastToInt();
settings.Window.Position.Left = val.CastToDouble();

s.TryGetValue("Window.Position.Top", out val);
settings.Window.Position.Top = val.CastToInt();
settings.Window.Position.Top = val.CastToDouble();

s.TryGetValue("RestartDelay", out val);
settings.RestartDelay = val.CastToInt();
Expand Down

0 comments on commit 691e9d0

Please sign in to comment.