Skip to content

Commit

Permalink
minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
lindakladivova committed Jul 27, 2021
1 parent be77f1b commit 1c73d43
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gui/wxpython/gcp/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -2024,7 +2024,7 @@ def OnQuit(self, event):

self.Destroy()

event.Skip()
#event.Skip()

def OnGROrder(self, event):
"""
Expand Down
4 changes: 2 additions & 2 deletions gui/wxpython/iclass/g.gui.iclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ def main():
app = wx.App()

# show main frame
mapframe = wx.Frame(
frame = wx.Frame(
parent=None,
size=globalvar.MAP_WINDOW_SIZE,
title=_("Supervised Classification Tool - GRASS GIS"),
)
frame = IClassMapDisplay(
parent=mapframe,
parent=frame,
giface=None,
)
if not flags["m"]:
Expand Down
4 changes: 2 additions & 2 deletions gui/wxpython/mapswipe/g.gui.mapswipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ def main():
app = wx.App()

# show main frame
mapframe = wx.Frame(
frame = wx.Frame(
parent=None,
size=globalvar.MAP_WINDOW_SIZE,
title=_("Map Swipe Tool - GRASS GIS"),
)
frame = SwipeMapDisplay(
parent=mapframe,
parent=frame,
giface=StandaloneGrassInterface(),
)

Expand Down
4 changes: 2 additions & 2 deletions gui/wxpython/rdigit/g.gui.rdigit.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ def OnMapCreated(self, name, ltype):
style=wx.DEFAULT_FRAME_STYLE,
title=_("Raster Digitizer - GRASS GIS"),
)
mapdisplay = RDigitMapDisplay(parent=frame, **kwargs)
mapdisplay.Show()
frame = RDigitMapDisplay(parent=frame, **kwargs)
frame.Show()

app.MainLoop()

Expand Down
4 changes: 2 additions & 2 deletions gui/wxpython/vdigit/g.gui.vdigit.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ def __init__(self, parent, vectorMap):
style=wx.DEFAULT_FRAME_STYLE,
title=_("Vector Digitizer - GRASS GIS"),
)
mapdisplay = VDigitMapDisplay(parent=frame, vectorMap=options["map"])
mapdisplay.Show()
frame = VDigitMapDisplay(parent=frame, vectorMap=options["map"])
frame.Show()

app.MainLoop()

Expand Down

0 comments on commit 1c73d43

Please sign in to comment.