Ctrl+C in the terminal, will kill the GUI
It will abruptly kill, so settings will not be saved.
This commit is contained in:
parent
0d9d5114bd
commit
7f08ca9133
@ -1,5 +1,6 @@
|
|||||||
2.2
|
2.2
|
||||||
- Added again make install target
|
- Added again make install target
|
||||||
|
- Ctrl+C in the terminal will terminate the GUI
|
||||||
|
|
||||||
2.1
|
2.1
|
||||||
- Introduced sessions; GUI loads the same relations of the previous time
|
- Introduced sessions; GUI loads the same relations of the previous time
|
||||||
|
@ -81,6 +81,9 @@ if __name__ == "__main__":
|
|||||||
x11 = False
|
x11 = False
|
||||||
|
|
||||||
if x11:
|
if x11:
|
||||||
|
import signal
|
||||||
|
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||||
|
|
||||||
import sip # needed on windows
|
import sip # needed on windows
|
||||||
from PyQt5 import QtGui, QtWidgets
|
from PyQt5 import QtGui, QtWidgets
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user