mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 20:26:03 +08:00
FIX: [STUDIO-3720] limit max_recent_count characters
Change-Id: I61dd6d5adfd057c9d068ab94ce36d9ab2395002b
This commit is contained in:
parent
0fc5c074cf
commit
ea2aca6fb5
@ -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…
x
Reference in New Issue
Block a user