Block tab creation while zoomed. Closes LP #563911
This commit is contained in:
parent
9501cde85e
commit
6a5f3381a7
@ -163,6 +163,10 @@ class Window(Container, gtk.Window):
|
||||
"""Make a new tab"""
|
||||
cwd = None
|
||||
|
||||
if self.get_property('term_zoomed') == True:
|
||||
err("You can't create a tab while a terminal is maximised/zoomed")
|
||||
return
|
||||
|
||||
if widget:
|
||||
cwd = widget.get_cwd()
|
||||
maker = Factory()
|
||||
|
Loading…
Reference in New Issue
Block a user