mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:20:05 +00:00 
			
		
		
		
	Merge pull request #306 from dpaulat/hotfix/setup-wizard-missing-pages
Fix Setup Wizard Display
This commit is contained in:
		
						commit
						0dcc6ef4b1
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		|  | @ -22,6 +22,9 @@ class SetupWizard::Impl | |||
| public: | ||||
|    explicit Impl() = default; | ||||
|    ~Impl()         = default; | ||||
| 
 | ||||
|    bool mapProviderPageIsRequired_ {MapProviderPage::IsRequired()}; | ||||
|    bool audioCodecPageIsRequired_ {AudioCodecPage::IsRequired()}; | ||||
| }; | ||||
| 
 | ||||
| SetupWizard::SetupWizard(QWidget* parent) : | ||||
|  | @ -66,14 +69,14 @@ int SetupWizard::nextId() const | |||
|       { | ||||
|       case static_cast<int>(Page::MapProvider): | ||||
|       case static_cast<int>(Page::MapLayout): | ||||
|          if (MapProviderPage::IsRequired()) | ||||
|          if (p->mapProviderPageIsRequired_) | ||||
|          { | ||||
|             return nextId; | ||||
|          } | ||||
|          break; | ||||
| 
 | ||||
|       case static_cast<int>(Page::AudioCodec): | ||||
|          if (AudioCodecPage::IsRequired()) | ||||
|          if (p->audioCodecPageIsRequired_) | ||||
|          { | ||||
|             return nextId; | ||||
|          } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat