mirror of
https://github.com/ralsina/xrandroll.git
synced 2024-11-25 04:12:23 +00:00
Update replica_of data when enabling a monitor
This commit is contained in:
parent
e52632c8f4
commit
52d84bec91
@ -121,7 +121,10 @@ class Window(QObject):
|
|||||||
# Choose a mode
|
# Choose a mode
|
||||||
self.ui.modes.setCurrentIndex(0)
|
self.ui.modes.setCurrentIndex(0)
|
||||||
self.mode_changed()
|
self.mode_changed()
|
||||||
monitor["item"].update_visuals(monitor)
|
self.update_replica_of_data()
|
||||||
|
for _, mon in self.xrandr_info.items():
|
||||||
|
mon["item"].update_visuals(mon)
|
||||||
|
self.adjust_view()
|
||||||
|
|
||||||
def primary_changed(self):
|
def primary_changed(self):
|
||||||
mon = self.ui.screenCombo.currentText()
|
mon = self.ui.screenCombo.currentText()
|
||||||
|
Loading…
Reference in New Issue
Block a user