mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-04-21 12:23:15 -07:00
Make the ctrl+enter shortcut use the generate button on the current tab
This commit is contained in:
parent
42bf5fa325
commit
8b7d3f1bef
2 changed files with 10 additions and 3 deletions
|
|
@ -1331,7 +1331,7 @@ Requested path was: {f}
|
|||
|
||||
with gr.Tabs() as tabs:
|
||||
for interface, label, ifid in interfaces:
|
||||
with gr.TabItem(label, id=ifid):
|
||||
with gr.TabItem(label, id=ifid, elem_id='tab_' + ifid):
|
||||
interface.render()
|
||||
|
||||
if os.path.exists(os.path.join(script_path, "notification.mp3")):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue