Permalink
Browse files

Do not apply selected theme from within the preferences dialog, as th…

…at crashes sporadically. Instead, rely on the info dialog telling the user he should restart the app. Related to #465, and probably solves it.
  • Loading branch information...
ansgarbecker committed Jan 9, 2019
1 parent a9684db commit fb081d3fa7b39a794b1b15037e364b0c44e46929
Showing with 0 additions and 1 deletion.
  1. +0 −1 source/options.pas
@@ -398,7 +398,6 @@ procedure Toptionsform.Apply(Sender: TObject);
// Set relevant properties in mainform
MainForm.ApplyFontToGrids;

TStyleManager.TrySetStyle(comboTheme.Text);
Mainform.LogToFile := chkLogToFile.Checked;
MainForm.actLogHorizontalScrollbar.Checked := chkHorizontalScrollbar.Checked;
MainForm.actLogHorizontalScrollbar.OnExecute(MainForm.actLogHorizontalScrollbar);

0 comments on commit fb081d3

Please sign in to comment.