Commit 2d4096ff authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

--nogui: no need to cancel animations

parent 7cb64ba1
......@@ -357,7 +357,8 @@ class MainWindow(KXmlGuiWindow):
def close(self, unusedResult=None):
"""wrap close() because we call it with a QTimer"""
if isAlive(self):
if Options.gui:
return KXmlGuiWindow.close(self)
def closeEvent(self, event):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment