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

View File

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