Update replica_of data when making a monitor a replica of another one.

This commit is contained in:
Roberto Alsina 2020-02-04 13:49:11 -03:00
parent 0a9a98ff40
commit e52632c8f4
1 changed files with 3 additions and 1 deletions

View File

@ -226,7 +226,9 @@ class Window(QObject):
self.ui.horizontalScale.setValue(scale_x)
self.ui.verticalScale.setValue(scale_y)
mon["item"].update_visuals(mon)
self.update_replica_of_data()
for _, mon in self.xrandr_info.items():
mon["item"].update_visuals(mon)
def do_reset(self):
for n in self.xrandr_info: