Skip to content

Commit 871cbb5

Browse files
committed
Fix wrong order of model reset signals, fixes #3738
1 parent 1b29197 commit 871cbb5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/mapthemesmodel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ MapThemesModel::~MapThemesModel() = default;
2727

2828
void MapThemesModel::setupModel()
2929
{
30-
beginResetModel();
31-
3230
clear();
3331

32+
beginResetModel();
33+
3434
if ( mQgsProject )
3535
{
3636
QgsMapThemeCollection *collection = mQgsProject->mapThemeCollection();

0 commit comments

Comments
 (0)