mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:12:43 +00:00 
			
		
		
		
	PDFViewer: Remove an unneeded indirection
No behavior change.
This commit is contained in:
		
							parent
							
								
									d9267a388d
								
							
						
					
					
						commit
						475cef8afd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -256,7 +256,7 @@ ErrorOr<void> PDFViewerWidget::initialize_menubar(GUI::Window& window) | |||
|         m_viewer->set_show_images(action.is_checked()); | ||||
|     }); | ||||
|     toggle_show_images->set_checked(m_viewer->show_images()); | ||||
|     debug_menu->add_action(*toggle_show_images); | ||||
|     debug_menu->add_action(toggle_show_images); | ||||
|     auto toggle_clip_images = GUI::Action::create_checkable("Clip I&mages", [&](auto& action) { | ||||
|         m_viewer->set_clip_images(action.is_checked()); | ||||
|     }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Nico Weber
						Nico Weber