From f3fa9eea0c3f02634eea6229650dbab36e4ed345 Mon Sep 17 00:00:00 2001 From: Dimitri Date: Thu, 4 Oct 2018 16:17:42 -0400 Subject: [PATCH 1/2] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 35 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 17 +++++++++++ 2 files changed, 52 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..b735373 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,35 @@ +--- +name: Bug report +about: Create a report to help us improve + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..066b2d9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,17 @@ +--- +name: Feature request +about: Suggest an idea for this project + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. From 5fce15bea89b84816fcd1fa6ff9ac105c1f24bc7 Mon Sep 17 00:00:00 2001 From: idietmoran Date: Wed, 10 Oct 2018 23:18:17 -0400 Subject: [PATCH 2/2] fixed issue where combobox would not disable --- Display-Lock/ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Display-Lock/ui.c b/Display-Lock/ui.c index 7167bff..354c5e2 100644 --- a/Display-Lock/ui.c +++ b/Display-Lock/ui.c @@ -121,8 +121,6 @@ void mainWindowInit(HWND hDlg, MAIN_WINDOW_CONTROLS *mainWindowControls) tci.pszText = L"Settings"; TabCtrl_InsertItem(mainWindowControls->tabCtrl, SETTINGS_VIEW, &tci); - - } @@ -134,6 +132,7 @@ void windowsButtonStart(MENU *menu, WINDOW_VIEW_CONTROLS *windowControls, ARGS * menu->startThread(&windowControls->clipThread, cursorLock, (void*)args); EnableWindow(windowControls->startButton, FALSE); EnableWindow(windowControls->stopButton, TRUE); + EnableWindow(windowControls->comboBox, FALSE); } void windowsButtonStop(MENU menu, WINDOW_VIEW_CONTROLS *windowControls) @@ -141,6 +140,7 @@ void windowsButtonStop(MENU menu, WINDOW_VIEW_CONTROLS *windowControls) *windowControls->runningClip = FALSE; EnableWindow(windowControls->startButton, TRUE); EnableWindow(windowControls->stopButton, FALSE); + EnableWindow(windowControls->comboBox, TRUE); menu.closeThread(windowControls->clipThread, windowControls->runningClip); }