From 4ddeaee0e6b207ea96bdda2aef3f725dcc02c736 Mon Sep 17 00:00:00 2001 From: lltcggie Date: Wed, 3 Jun 2015 03:04:17 +0900 Subject: [PATCH] =?UTF-8?q?GUI=E3=81=A7=E5=A4=89=E6=8F=9B=E5=AE=9F?= =?UTF-8?q?=E8=A1=8C=E6=99=82=E3=81=ABcuDNN=E3=83=81=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=82=AF=E3=83=9C=E3=82=BF=E3=83=B3=E3=82=82=E7=84=A1=E5=8A=B9?= =?UTF-8?q?=E5=8C=96=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=97?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- waifu2x-caffe-gui/Source.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/waifu2x-caffe-gui/Source.cpp b/waifu2x-caffe-gui/Source.cpp index 5c9acba..109bf74 100644 --- a/waifu2x-caffe-gui/Source.cpp +++ b/waifu2x-caffe-gui/Source.cpp @@ -434,6 +434,7 @@ public: EnableWindow(GetDlgItem(dh, IDC_BUTTON_CANCEL), TRUE); EnableWindow(GetDlgItem(dh, IDC_BUTTON_EXEC), FALSE); + EnableWindow(GetDlgItem(dh, IDC_BUTTON_CHECK_CUDNN), FALSE); SetWindowTextA(GetDlgItem(hWnd, IDC_EDIT_LOG), ""); logMessage.clear(); @@ -444,6 +445,7 @@ public: processThread.join(); EnableWindow(GetDlgItem(dh, IDC_BUTTON_CANCEL), FALSE); EnableWindow(GetDlgItem(dh, IDC_BUTTON_EXEC), TRUE); + EnableWindow(GetDlgItem(dh, IDC_BUTTON_CHECK_CUDNN), TRUE); if (!isLastError) {