Fix spin button updates in media reference editor
Fix so spin button updates visible selection when it has already been clicked. Bug #8429.
This commit is contained in:
parent
bdbecfa46c
commit
007c1cb1d6
@ -386,6 +386,7 @@ class EditMediaRef(EditReference):
|
|||||||
real = self.selection.proportional_to_real_rect(self.rectangle)
|
real = self.selection.proportional_to_real_rect(self.rectangle)
|
||||||
region = Region(real[0], real[1], real[2], real[3])
|
region = Region(real[0], real[1], real[2], real[3])
|
||||||
self.selection.set_regions([region])
|
self.selection.set_regions([region])
|
||||||
|
self.selection.select(region) # update the selection box shown
|
||||||
self.selection.refresh()
|
self.selection.refresh()
|
||||||
|
|
||||||
def region_modified(self, widget):
|
def region_modified(self, widget):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user