mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 12:04:10 +00:00
fix messagepopup height_req
This commit is contained in:
parent
3db7bcbfc7
commit
e16ee523a5
@ -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…
x
Reference in New Issue
Block a user