git/GitUserEmailDialog.cpp
raw| 1 | #include "GitUserEmailDialog.h" |
| 2 | |
| 3 | GitUserEmailDialog::GitUserEmailDialog(wxWindow* parent) |
| 4 | : GitUserEmailDialogBase(parent) |
| 5 | { |
| 6 | } |
| 7 | |
| 8 | GitUserEmailDialog::~GitUserEmailDialog() {} |
| 9 | |
| 10 | void GitUserEmailDialog::OnOKUI(wxUpdateUIEvent& event) |
| 11 | { |
| 12 | event.Enable(!m_textCtrlEmail->IsEmpty() && !m_textCtrlName->IsEmpty()); |
| 13 | } |