isolate some tests from settings

This commit is contained in:
Kartik K. Agaram 2022-09-17 16:33:36 -07:00
parent 287050d598
commit 0cc8c706ff
1 changed files with 3 additions and 1 deletions

View File

@ -334,7 +334,9 @@ function source.keychord_pressed(chord, key)
--? print('done setting window')
-- try to restore position if possible
-- if the window gets wider the window manager may not respect this
source.set_window_position_from_settings(Settings.source)
if not App.run_tests then
source.set_window_position_from_settings(Settings.source)
end
return
end
if chord == 'C-g' then