Skip to content

Commit

Permalink
Merge pull request #351 from bpoldrack/fix-ui-question
Browse files Browse the repository at this point in the history
Fix ui.question's text + title
  • Loading branch information
mih authored Oct 14, 2022
2 parents 3d1ed1d + cb06ef4 commit 071c210
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions datalad_gooey/datalad_ui.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import threading
from textwrap import wrap
from types import MappingProxyType
Expand Down Expand Up @@ -226,8 +227,10 @@ def question(self, text,
# to make sure that our signal is the only one putting an answer in
# the queue
self._uibridge.question_asked.emit(MappingProxyType(dict(
title=title,
text=text,
title="Input required",
# Note, that ui.question's `title` is meant for the prompting
# text:
text=title + os.linesep + text,
choices=choices,
default=default,
hidden=hidden,
Expand Down

0 comments on commit 071c210

Please sign in to comment.