8128: GtkDialog mapped without a transient parent in placeselection

This commit is contained in:
SNoiraud 2017-04-06 09:59:48 +02:00
parent ae72a999f0
commit efd73e9427

View File

@ -104,7 +104,7 @@ class PlaceSelection(ManagedWindow, OsmGps):
self.selection_layer = layer self.selection_layer = layer
self.layer = layer self.layer = layer
self.set_window( self.set_window(
Gtk.Dialog(_('Place Selection in a region'), Gtk.Dialog(_('Place Selection in a region'), uistate.window,
buttons=(_('_Close'), Gtk.ResponseType.CLOSE)), buttons=(_('_Close'), Gtk.ResponseType.CLOSE)),
None, _('Place Selection in a region'), None) None, _('Place Selection in a region'), None)
label = Gtk.Label(label=_('Choose the radius of the selection.\n' label = Gtk.Label(label=_('Choose the radius of the selection.\n'