Browse Source

wxGUI: fix layout flag assert in wms dialog (#1764)

Anna Petrasova 3 years ago
parent
commit
e7214f3e76
1 changed files with 6 additions and 3 deletions
  1. 6 3
      gui/wxpython/web_services/dialogs.py

+ 6 - 3
gui/wxpython/web_services/dialogs.py

@@ -993,9 +993,12 @@ class SaveWMSLayerDialog(wx.Dialog):
         selSizer.Add(selTitleSizer, proportion=0,
                      flag=wx.EXPAND)
 
-        selSizer.Add(sel, proportion=1,
-                     flag=wx.EXPAND | wx.ALL | wx.ALIGN_CENTER_VERTICAL,
-                     border=5)
+        selSizer.Add(
+            sel,
+            proportion=1,
+            flag=wx.EXPAND | wx.ALL,
+            border=5,
+        )
 
         return selSizer