File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1558,6 +1558,8 @@ void QgsRasterLayerProperties::apply()
1558
1558
cboxContrastEnhancementAlgorithm->removeItem (cboxContrastEnhancementAlgorithm->findText (tr (" User Defined" )));
1559
1559
}
1560
1560
1561
+ // notify the project we've made a change
1562
+ QgsProject::instance ()->dirty (true );
1561
1563
}// apply
1562
1564
1563
1565
void QgsRasterLayerProperties::on_buttonBox_helpRequested ()
Original file line number Diff line number Diff line change 29
29
#include " qgslabel.h"
30
30
#include " qgslayerprojectionselector.h"
31
31
#include " qgslogger.h"
32
+ #include " qgsproject.h"
32
33
#include " qgssinglesymboldialog.h"
33
34
#include " qgsuniquevaluedialog.h"
34
35
#include " qgsvectordataprovider.h"
@@ -341,6 +342,8 @@ void QgsVectorLayerProperties::apply()
341
342
emit refreshLegend (layer->getLayerID (), false );
342
343
343
344
layer->triggerRepaint ();
345
+ // notify the project we've made a change
346
+ QgsProject::instance ()->dirty (true );
344
347
345
348
}
346
349
You can’t perform that action at this time.
0 commit comments