mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	FIX:mall window minimization will no longer refresh web page
Change-Id: I22552e793ab0f3acdaa50e916ee81f9977d0f859 (cherry picked from commit 56ef8886f64b4e294840d602850f832b38b5989b)
This commit is contained in:
		
							parent
							
								
									7b3621bb0c
								
							
						
					
					
						commit
						17bc464bac
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -14,7 +14,7 @@ | ||||||
| namespace Slic3r { | namespace Slic3r { | ||||||
| namespace GUI { | namespace GUI { | ||||||
|     ModelMallDialog::ModelMallDialog(Plater* plater /*= nullptr*/) |     ModelMallDialog::ModelMallDialog(Plater* plater /*= nullptr*/) | ||||||
|         :DPIDialog(static_cast<wxWindow*>(wxGetApp().mainframe), wxID_ANY, _L("3D Models"), wxDefaultPosition, wxDefaultSize, wxCAPTION | wxCLOSE_BOX) |         :DPIDialog(static_cast<wxWindow*>(nullptr), wxID_ANY, _L("3D Models"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE|wxDIALOG_NO_PARENT|wxMINIMIZE_BOX) | ||||||
|     { |     { | ||||||
|         // icon
 |         // icon
 | ||||||
|         std::string icon_path = (boost::format("%1%/images/BambuStudioTitle.ico") % resources_dir()).str(); |         std::string icon_path = (boost::format("%1%/images/BambuStudioTitle.ico") % resources_dir()).str(); | ||||||
|  | @ -171,9 +171,9 @@ namespace GUI { | ||||||
|         if (event.IsShown()) { |         if (event.IsShown()) { | ||||||
|             Centre(wxBOTH); |             Centre(wxBOTH); | ||||||
|         } |         } | ||||||
|         else { |         /*else {
 | ||||||
|             go_to_url(m_url); |             go_to_url(m_url); | ||||||
|         } |         }*/ | ||||||
|         event.Skip(); |         event.Skip(); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tao wang
						tao wang