We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a36e95 commit 903ab97Copy full SHA for 903ab97
tests/installer/panels/batch_scheduler_panel.py
@@ -294,7 +294,14 @@ def name(self) -> str:
294
async def activate(self) -> None:
295
self.update_attrs()
296
selector = self.get_widget_by_id('batch-selector')
297
- selector.focus(False)
+ assert isinstance(selector, Select)
298
+ sched = selector.selection
299
+ if sched is None or sched == 'none':
300
+ selector.focus(False)
301
+ elif sched == 'local':
302
+ self.app._focus_next() # type: ignore
303
+ else:
304
+ self.get_widget_by_id('account-input').focus()
305
306
def update_attrs(self) -> None:
307
s = ''
0 commit comments