mirror of
https://github.com/aidygus/LinVAM.git
synced 2024-11-14 13:18:06 +11:00
now it is possible to close from command line
This commit is contained in:
parent
9a63418228
commit
a83482740b
2
main.py
2
main.py
@ -11,6 +11,7 @@ import pickle
|
||||
import time
|
||||
import keyboard
|
||||
import threading
|
||||
import signal
|
||||
|
||||
class MainWnd(QWidget):
|
||||
def __init__(self, p_parent = None):
|
||||
@ -26,6 +27,7 @@ class MainWnd(QWidget):
|
||||
self.ui.listeningChk.stateChanged.connect(self.slotListeningEnabled)
|
||||
self.ui.ok.clicked.connect(self.slotOK)
|
||||
self.ui.cancel.clicked.connect(self.slotCancel)
|
||||
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||
|
||||
if self.loadFromDatabase() > 0 :
|
||||
# if self.loadTestProfiles() > 0:
|
||||
|
Loading…
Reference in New Issue
Block a user