From e16ee523a54e9d81eb86e94626daf7e3dbb0603a Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 21 Feb 2011 17:41:10 +0100 Subject: [PATCH] fix messagepopup height_req --- deluge/ui/console/modes/popup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/console/modes/popup.py b/deluge/ui/console/modes/popup.py index 0702801d1..0bb2a04c0 100644 --- a/deluge/ui/console/modes/popup.py +++ b/deluge/ui/console/modes/popup.py @@ -260,7 +260,7 @@ class MessagePopup(Popup): self.message = message self.width= int(parent_mode.cols/2) lns = self._split_message() - Popup.__init__(self,parent_mode,title,height_req=len(lns)) + Popup.__init__(self,parent_mode,title,height_req=(len(lns)+2)) self._lines = lns def _split_message(self):