Refactor: sorting methods, and make some
things clearer
This commit is contained in:
parent
17b78797dc
commit
c541c60aa9
1 changed files with 2 additions and 1 deletions
|
@ -92,6 +92,7 @@ class PassUi(wx.Frame):
|
|||
|
||||
@redraw
|
||||
def add_init(self):
|
||||
"""add_init"""
|
||||
select_label: str = "Select GPG Key"
|
||||
if self.gpg_key:
|
||||
label: wx.StaticText = wx.StaticText(self.pnl, label="Selected GPG key:")
|
||||
|
@ -105,7 +106,7 @@ class PassUi(wx.Frame):
|
|||
lambda event: self.gpg_button_clicked(), gpg_btn)
|
||||
if self.gpg_key:
|
||||
init_btn: wx.Button = wx.Button(self.pnl, label="Init Local Password Store")
|
||||
git_btn: wx.Button = wx.Button(self.pnl, label="Init Git Password Store")
|
||||
git_btn: wx.Button = wx.Button(self.pnl, label="Clone Remote Password Store From Git")
|
||||
self.sizer.Add(init_btn, 0, wx.EXPAND) # pylint: disable=no-member
|
||||
self.sizer.Add(git_btn, 0, wx.EXPAND) # pylint: disable=no-member
|
||||
self.Bind(wx.EVT_BUTTON,
|
||||
|
|
Loading…
Add table
Reference in a new issue