mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Added comment.
This commit is contained in:
+1
-1
@@ -227,7 +227,7 @@ void RemovePaintCommand::undo()
|
||||
void RemovePaintCommand::redo()
|
||||
{
|
||||
MappingManager& mappingManager = _mainWindow->getMappingManager();
|
||||
bool deleteWithoutPrompt = (!_paint.isNull());
|
||||
bool deleteWithoutPrompt = (!_paint.isNull()); // to avoid the pop-up window when redoing after undoing
|
||||
_paint = mappingManager.getPaintById(_paintId);
|
||||
_paintMappings = mappingManager.getPaintMappings(_paint);
|
||||
_mainWindow->deletePaint(_paintId, deleteWithoutPrompt);
|
||||
|
||||
Reference in New Issue
Block a user