mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	Set the most accurate User Manual page to Options tabs
Because some of the tabs in Options dialog have a dedicated chapter where they are fully described, better use those links instead of the global one.
This commit is contained in:
		
							parent
							
								
									9e36fd9c6d
								
							
						
					
					
						commit
						34b9ae293d
					
				@ -2354,5 +2354,20 @@ void QgsOptions::setZoomFactorValue()
 | 
			
		||||
 | 
			
		||||
void QgsOptions::showHelp()
 | 
			
		||||
{
 | 
			
		||||
  QgsHelp::openHelp( QStringLiteral( "introduction/qgis_configuration.html#options" ) );
 | 
			
		||||
  QWidget *activeTab = mOptionsStackedWidget->currentWidget();
 | 
			
		||||
  QString link = QStringLiteral( "introduction/qgis_configuration.html" );
 | 
			
		||||
 | 
			
		||||
  if ( activeTab == mOptionsPageAuth )
 | 
			
		||||
  {
 | 
			
		||||
    link = QStringLiteral( "auth_system/index.html" );
 | 
			
		||||
  }
 | 
			
		||||
  else if ( activeTab == mOptionsPageVariables )
 | 
			
		||||
  {
 | 
			
		||||
    link = QStringLiteral( "introduction/general_tools.html#variables" );
 | 
			
		||||
  }
 | 
			
		||||
  else if ( activeTab == mOptionsPageCRS )
 | 
			
		||||
  {
 | 
			
		||||
    link = QStringLiteral( "working_with_projections/working_with_projections.html" );
 | 
			
		||||
  }
 | 
			
		||||
  QgsHelp::openHelp( link );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user