From 724a612bd43e1066d6c6c5638566e9db5dbb92f1 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sun, 26 Mar 2017 15:14:59 +0200 Subject: [PATCH] Apply Serial Patch requires username to be set Signed-off-by: Sven Strickroth --- src/TortoiseProc/ImportPatchDlg.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/TortoiseProc/ImportPatchDlg.cpp b/src/TortoiseProc/ImportPatchDlg.cpp index c2f50a16b..d9014c655 100644 --- a/src/TortoiseProc/ImportPatchDlg.cpp +++ b/src/TortoiseProc/ImportPatchDlg.cpp @@ -1,6 +1,6 @@ // TortoiseGit - a Windows shell extension for easy version control -// Copyright (C) 2008-2016 - TortoiseGit +// Copyright (C) 2008-2017 - TortoiseGit // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -505,6 +505,9 @@ void CImportPatchDlg::OnBnClickedOk() SaveSplitterPos(); + if (!CAppUtils::CheckUserData()) + return; + if(IsFinish()) { this->OnOK(); -- 2.11.4.GIT