Skip to content

Commit

Permalink
Merge pull request #408 from baldeuniversel/master
Browse files Browse the repository at this point in the history
Bug fixed (Build-on : GNU/Linux) -> target_file: PreferencesDialogStyle.cpp, target_line: 571
  • Loading branch information
arvanus authored Feb 14, 2025
2 parents 812ad1b + c6f9886 commit a0c8372
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/PreferencesDialogStyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,7 @@ void PrefDlgStyleSetting::saveStyle(const wxString& styleName)
int i = fontNameComboBoxM->GetSelection();
if (i>0)
style->setFontName(fontNameComboBoxM->GetString(fontNameComboBoxM->GetSelection()));
style->setFontSize(atoi(fontSizeComboBoxM->GetString(fontSizeComboBoxM->GetSelection())));

style->setFontSize(atoi(fontSizeComboBoxM->GetString(fontSizeComboBoxM->GetSelection()).ToStdString().c_str()));

style->setfgColor(foregroundPickerM->GetColour());
style->setbgColor(backgroundPickerM->GetColour());
Expand Down

0 comments on commit a0c8372

Please sign in to comment.