Skip to content

Commit

Permalink
Fixes on spelling and feedback received
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Mar 30, 2020
1 parent 7c9cd0b commit ef2cacf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/gui/auto_generated/qgisinterface.sip.in
Expand Up @@ -587,7 +587,7 @@ Returns the Toggle Selected Layers action.

virtual QAction *actionToggleSelectedLayersIndependently() = 0;
%Docstring
Returns the Toggle Selected Layers Independantly action.
Returns the Toggle Selected Layers Independently action.

.. versionadded:: 3.14
%End
Expand Down
2 changes: 0 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -7556,7 +7556,6 @@ void QgisApp::hideSelectedLayers()
}
}

//reimplements method from base (gui) class
void QgisApp::toggleSelectedLayers()
{
QgsDebugMsg( QStringLiteral( "toggling selected layers!" ) );
Expand All @@ -7572,7 +7571,6 @@ void QgisApp::toggleSelectedLayers()
}
}

//reimplements method from base (gui) class
void QgisApp::toggleSelectedLayersIndependently()
{
QgsDebugMsg( QStringLiteral( "toggling selected layers independently!" ) );
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgisinterface.h
Expand Up @@ -518,7 +518,7 @@ class GUI_EXPORT QgisInterface : public QObject
virtual QAction *actionToggleSelectedLayers() = 0;

/**
* Returns the Toggle Selected Layers Independantly action.
* Returns the Toggle Selected Layers Independently action.
* \since QGIS 3.14
*/
virtual QAction *actionToggleSelectedLayersIndependently() = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgisapp.ui
Expand Up @@ -152,7 +152,7 @@
<addaction name="mActionShowSelectedLayers"/>
<addaction name="mActionHideSelectedLayers"/>
<addaction name="mActionToggleSelectedLayers"/>
<addaction name="mActionIndependentlyToggleSelectedLayers"/>
<addaction name="mActionToggleSelectedLayersIndependently"/>
<addaction name="mActionHideDeselectedLayers"/>
<addaction name="separator"/>
</widget>
Expand Down

0 comments on commit ef2cacf

Please sign in to comment.