Skip to content

Commit

Permalink
dials.image_viewer: respect kernel_size from command line (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjgildea committed Jun 2, 2017
1 parent 3909f7e commit 7185adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/image_viewer/spotfinder_frame.py
Expand Up @@ -1513,7 +1513,7 @@ def __init__ (self, *args, **kwds) :
txt3 = wx.StaticText(self, -1, "Kernel size")
grid1.Add(txt3, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5)
self.kernel_size_ctrl = IntsCtrl(
self, value=[3, 3],
self, value=self.settings.kernel_size,
name="kernel_size")
self.kernel_size_ctrl.SetSize(2)
self.kernel_size_ctrl.SetMin(1)
Expand Down

0 comments on commit 7185adb

Please sign in to comment.