Ctrl+C in the terminal, will kill the GUI
It will abruptly kill, so settings will not be saved.
This commit is contained in:
@@ -81,6 +81,9 @@ if __name__ == "__main__":
|
||||
x11 = False
|
||||
|
||||
if x11:
|
||||
import signal
|
||||
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||
|
||||
import sip # needed on windows
|
||||
from PyQt5 import QtGui, QtWidgets
|
||||
try:
|
||||
|
Reference in New Issue
Block a user