This commit is contained in:
Maximilian Hils 2015-10-22 02:38:00 +02:00
parent 7d8191ee37
commit 726b70ccdc
1 changed files with 2 additions and 1 deletions

View File

@ -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