Sort windows when saving sessions
This should help with flaky tests when the window order changes
This commit is contained in:
parent
510b437916
commit
6ee382ef30
@ -221,7 +221,7 @@ class SessionManager(QObject):
|
|||||||
else:
|
else:
|
||||||
winlist = objreg.window_registry
|
winlist = objreg.window_registry
|
||||||
|
|
||||||
for win_id in winlist:
|
for win_id in sorted(winlist):
|
||||||
tabbed_browser = objreg.get('tabbed-browser', scope='window',
|
tabbed_browser = objreg.get('tabbed-browser', scope='window',
|
||||||
window=win_id)
|
window=win_id)
|
||||||
main_window = objreg.get('main-window', scope='window',
|
main_window = objreg.get('main-window', scope='window',
|
||||||
|
Loading…
Reference in New Issue
Block a user