Accepting request 752407 from Application:ERP:GNUHealth:3.6
camera.diff remved OBS-URL: https://build.opensuse.org/request/show/752407 OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/gnuhealth-client?expand=0&rev=29
This commit is contained in:
parent
aa2b472620
commit
defe6e89a3
17
camera.diff
17
camera.diff
@ -1,17 +0,0 @@
|
||||
diff -U 3 -dHrN -- b/gnuhealth_camera/__init__.py a/gnuhealth_camera/__init__.py
|
||||
--- b/gnuhealth_camera/__init__.py 2018-11-27 00:07:32.000000000 +0100
|
||||
+++ a/gnuhealth_camera/__init__.py 2019-11-11 19:46:58.148898162 +0100
|
||||
@@ -166,7 +166,12 @@
|
||||
set_attachment(data, frame)
|
||||
break
|
||||
|
||||
- if keypressed == ord('q'):
|
||||
+ # Cleanup / Destroy window when q key is pressed or when closing
|
||||
+ # the window via alt+f4
|
||||
+ if (keypressed == ord('q')):
|
||||
+ break
|
||||
+
|
||||
+ if (cv2.getWindowProperty('== GNU Health Camera ==', cv2.WND_PROP_VISIBLE) < 1):
|
||||
break
|
||||
|
||||
if keypressed == ord('h'):
|
Loading…
Reference in New Issue
Block a user