mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
fix messagepopup height_req
This commit is contained in:
parent
3db7bcbfc7
commit
e16ee523a5
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue