|
@@ -335,7 +335,8 @@ class MapFrameBase(wx.Frame):
|
|
def StatusbarEnableLongHelp(self, enable=True):
|
|
def StatusbarEnableLongHelp(self, enable=True):
|
|
"""Enable/disable toolbars long help"""
|
|
"""Enable/disable toolbars long help"""
|
|
for toolbar in six.itervalues(self.toolbars):
|
|
for toolbar in six.itervalues(self.toolbars):
|
|
- toolbar.EnableLongHelp(enable)
|
|
|
|
|
|
+ if toolbar:
|
|
|
|
+ toolbar.EnableLongHelp(enable)
|
|
|
|
|
|
def IsStandalone(self):
|
|
def IsStandalone(self):
|
|
"""Check if map frame is standalone"""
|
|
"""Check if map frame is standalone"""
|