mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-07 07:17:43 -07:00
Fixes #7211 where the CreateFilamentPresetDialog fails to show the printer list due to the dialog not resizing properly. This workaround sets the wxRESIZE_BORDER flag so the dialog can be resized to reveal the printer list.
(cherry picked from commit 3f066404903e5f13892c1f37c179a68479669e88)
This commit is contained in:
parent
c5956d6dff
commit
a448cff1df
1 changed files with 1 additions and 1 deletions
|
|
@ -634,7 +634,7 @@ static void adjust_dialog_in_screen(DPIDialog* dialog) {
|
|||
}
|
||||
|
||||
CreateFilamentPresetDialog::CreateFilamentPresetDialog(wxWindow *parent)
|
||||
: DPIDialog(parent ? parent : nullptr, wxID_ANY, _L("Create Filament"), wxDefaultPosition, wxDefaultSize, wxCAPTION | wxCLOSE_BOX | wxCENTRE)
|
||||
: DPIDialog(parent ? parent : nullptr, wxID_ANY, _L("Create Filament"), wxDefaultPosition, wxDefaultSize, wxCAPTION | wxCLOSE_BOX | wxCENTRE | wxRESIZE_BORDER)
|
||||
{
|
||||
m_create_type.base_filament = _L("Create Based on Current Filament");
|
||||
m_create_type.base_filament_preset = _L("Copy Current Filament Preset ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue