mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 16:27:54 -06:00
FIX: [STUDIO-3720] limit max_recent_count characters
Change-Id: I61dd6d5adfd057c9d068ab94ce36d9ab2395002b
This commit is contained in:
parent
0fc5c074cf
commit
ea2aca6fb5
1 changed files with 2 additions and 0 deletions
|
@ -405,6 +405,8 @@ wxBoxSizer *PreferencesDialog::create_item_input(wxString title, wxString title2
|
|||
StateColor input_bg(std::pair<wxColour, int>(wxColour("#F0F0F1"), StateColor::Disabled), std::pair<wxColour, int>(*wxWHITE, StateColor::Enabled));
|
||||
input->SetBackgroundColor(input_bg);
|
||||
input->GetTextCtrl()->SetValue(app_config->get(param));
|
||||
wxTextValidator validator(wxFILTER_DIGITS);
|
||||
input->GetTextCtrl()->SetValidator(validator);
|
||||
|
||||
auto second_title = new wxStaticText(parent, wxID_ANY, title2, wxDefaultPosition, DESIGN_TITLE_SIZE, 0);
|
||||
second_title->SetForegroundColour(DESIGN_GRAY900_COLOR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue