aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJairo Correa <jn.j41r0@gmail.com>2022-10-11 02:22:46 -0300
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-11 09:32:03 +0300
commit8b7d3f1bef47bbe048f644ed0d8dd3ad46554045 (patch)
treec6a15d0962efd4418bd8a68a341becc01e7f3731 /modules
parent42bf5fa3256bff5e4640e5a626e750d4e49e01e1 (diff)
Make the ctrl+enter shortcut use the generate button on the current tab
Diffstat (limited to 'modules')
-rw-r--r--modules/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py
index e8039d76..cafda884 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -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")):