Add some more prompt logging
This commit is contained in:
parent
3a79faac16
commit
dd0ce8fe3b
@ -283,10 +283,12 @@ class PromptContainer(QWidget):
|
|||||||
item = self._layout.takeAt(0)
|
item = self._layout.takeAt(0)
|
||||||
if item is not None:
|
if item is not None:
|
||||||
widget = item.widget()
|
widget = item.widget()
|
||||||
|
log.prompt.debug("Deleting old prompt {}".format(widget))
|
||||||
widget.hide()
|
widget.hide()
|
||||||
widget.deleteLater()
|
widget.deleteLater()
|
||||||
|
|
||||||
if question is None:
|
if question is None:
|
||||||
|
log.prompt.debug("No prompts left, hiding prompt container.")
|
||||||
self._prompt = None
|
self._prompt = None
|
||||||
self.hide()
|
self.hide()
|
||||||
return
|
return
|
||||||
@ -335,6 +337,7 @@ class PromptContainer(QWidget):
|
|||||||
item = self._layout.takeAt(0)
|
item = self._layout.takeAt(0)
|
||||||
if item is not None:
|
if item is not None:
|
||||||
widget = item.widget()
|
widget = item.widget()
|
||||||
|
log.prompt.debug("Deleting prompt {}".format(widget))
|
||||||
widget.hide()
|
widget.hide()
|
||||||
widget.deleteLater()
|
widget.deleteLater()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user