mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Retire the 'important' flag for options now that we have a configuration wizard.
This commit is contained in:
		
							parent
							
								
									4a94c64f7d
								
							
						
					
					
						commit
						e228b834e2
					
				
					 2 changed files with 0 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -54,7 +54,6 @@ our $Options = {
 | 
			
		|||
        sidetext => 'mm',
 | 
			
		||||
        cli     => 'nozzle-diameter=f',
 | 
			
		||||
        type    => 'f',
 | 
			
		||||
        important => 1,
 | 
			
		||||
    },
 | 
			
		||||
    'print_center' => {
 | 
			
		||||
        label   => 'Print center',
 | 
			
		||||
| 
						 | 
				
			
			@ -118,7 +117,6 @@ our $Options = {
 | 
			
		|||
        sidetext => 'mm',
 | 
			
		||||
        cli     => 'filament-diameter=f',
 | 
			
		||||
        type    => 'f',
 | 
			
		||||
        important => 1,
 | 
			
		||||
    },
 | 
			
		||||
    'extrusion_multiplier' => {
 | 
			
		||||
        label   => 'Extrusion multiplier',
 | 
			
		||||
| 
						 | 
				
			
			@ -150,7 +148,6 @@ our $Options = {
 | 
			
		|||
        cli     => 'temperature=i',
 | 
			
		||||
        type    => 'i',
 | 
			
		||||
        max     => 300,
 | 
			
		||||
        important => 1,
 | 
			
		||||
    },
 | 
			
		||||
    'bed_temperature' => {
 | 
			
		||||
        label   => 'Bed Temperature',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,9 +22,6 @@ sub new {
 | 
			
		|||
    $grid_sizer->SetFlexibleDirection(wxHORIZONTAL);
 | 
			
		||||
    $grid_sizer->AddGrowableCol($p{no_labels} ? 0 : 1);
 | 
			
		||||
    
 | 
			
		||||
    # grab the default font, to fix Windows font issues/keep things consistent
 | 
			
		||||
    my $bold_font = Wx::SystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
 | 
			
		||||
    $bold_font->SetWeight(wxFONTWEIGHT_BOLD);
 | 
			
		||||
    my $sidetext_font = Wx::SystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
 | 
			
		||||
    
 | 
			
		||||
    my $onChange = $p{on_change} || sub {};
 | 
			
		||||
| 
						 | 
				
			
			@ -36,10 +33,6 @@ sub new {
 | 
			
		|||
            $label = Wx::StaticText->new($parent, -1, "$opt->{label}:", wxDefaultPosition, [$p{label_width} || 180, -1]);
 | 
			
		||||
            $label->Wrap($p{label_width} || 180) ;  # needed to avoid Linux/GTK bug
 | 
			
		||||
            $grid_sizer->Add($label);
 | 
			
		||||
            
 | 
			
		||||
            # set the bold font point size to the same size as all the other labels (for consistency)
 | 
			
		||||
            $bold_font->SetPointSize($label->GetFont()->GetPointSize());
 | 
			
		||||
            $label->SetFont($bold_font) if $opt->{important};
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        my $field;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue