fix #800
This commit is contained in:
parent
7d8191ee37
commit
726b70ccdc
|
@ -4,7 +4,6 @@ import urwid
|
|||
|
||||
import netlib.utils
|
||||
from . import pathedit, signals, common
|
||||
from .. import utils
|
||||
|
||||
|
||||
class ActionBar(urwid.WidgetWrap):
|
||||
|
@ -25,6 +24,7 @@ class ActionBar(urwid.WidgetWrap):
|
|||
def sig_message(self, sender, message, expire=None):
|
||||
w = urwid.Text(message)
|
||||
self._w = w
|
||||
self.prompting = False
|
||||
if expire:
|
||||
def cb(*args):
|
||||
if w == self._w:
|
||||
|
@ -88,6 +88,7 @@ class ActionBar(urwid.WidgetWrap):
|
|||
|
||||
def clear(self):
|
||||
self._w = urwid.Text("")
|
||||
self.prompting = False
|
||||
|
||||
def prompt_done(self):
|
||||
self.prompting = False
|
||||
|
|
Loading…
Reference in New Issue