File tree 2 files changed +0
-7
lines changed
2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -345,7 +345,6 @@ def dropEvent(self, event):
345
345
346
346
event .accept ()
347
347
348
-
349
348
def mousePressEvent (self , event ):
350
349
"""Capture mouse press event"""
351
350
event .accept ()
@@ -354,9 +353,6 @@ def mousePressEvent(self, event):
354
353
self .mouse_position = event .pos ().x ()
355
354
self .scrollbar_position_previous = self .scrollbar_position
356
355
357
- # Ignore undo/redo history temporarily (to avoid a huge pile of undo/redo history)
358
- get_app ().updates .ignore_history = True
359
-
360
356
def mouseReleaseEvent (self , event ):
361
357
"""Capture mouse release event"""
362
358
event .accept ()
Original file line number Diff line number Diff line change @@ -231,9 +231,6 @@ def mousePressEvent(self, event):
231
231
self .mouse_position = event .pos ().x ()
232
232
self .scrollbar_position_previous = self .scrollbar_position
233
233
234
- # Ignore undo/redo history temporarily (to avoid a huge pile of undo/redo history)
235
- get_app ().updates .ignore_history = True
236
-
237
234
def mouseReleaseEvent (self , event ):
238
235
"""Capture mouse release event"""
239
236
event .accept ()
You can’t perform that action at this time.
0 commit comments