Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilipp committed Dec 13, 2018
1 parent e5ae736 commit 21c15e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions straditize/widgets/image_correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,14 @@ def should_be_enabled(self, w):
def start_rotation(self):
if not self._rotating:
self._rotating = True
self.connect2apply(self.rotate_image, self.remove_marks,
self.straditizer.draw_figure)
self.connect2apply(self.rotate_image)
self.connect2cancel(self.remove_marks,
self.straditizer.draw_figure)
self.straditizer_widgets.apply_button.setText('Rotate')

def draw_figure(self):
self.straditizer.draw_figure()

def start_horizontal_alignment(self):
self.start_rotation()
self._ha = True
Expand Down

0 comments on commit 21c15e2

Please sign in to comment.