Skip to content

Commit

Permalink
Fix renameMapTheme dox
Browse files Browse the repository at this point in the history
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
DelazJ and nyalldawson committed Mar 28, 2020
1 parent e755081 commit ee58be5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/qgsmapthemecollection.h
Expand Up @@ -263,7 +263,8 @@ class CORE_EXPORT QgsMapThemeCollection : public QObject
void removeMapTheme( const QString &name );

/**
* Retuns whether a map theme is renamed.
* Renames the existing map theme called \a name to \a newName.
* Returns TRUE if the rename was successful, or FALSE if it failed (e.g. due to a duplicate name for \a newName).
* \since QGIS 3.12
*/
bool renameMapTheme( const QString &name, const QString &newName );
Expand Down

0 comments on commit ee58be5

Please sign in to comment.