mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Disable crash handler if debug mode is not enabled
This commit is contained in:
parent
a9527920ae
commit
03748ca19a
2 changed files with 14 additions and 5 deletions
|
|
@ -125,6 +125,7 @@ class CuraApplication(QtApplication):
|
|||
def addCommandLineOptions(self, parser):
|
||||
super().addCommandLineOptions(parser)
|
||||
parser.add_argument("file", nargs="*", help="Files to load after starting the application.")
|
||||
parser.add_argument("--debug", dest="debug-mode", action="store_true", default=False, help="Enable detailed crash reports.")
|
||||
|
||||
def run(self):
|
||||
self._i18n_catalog = i18nCatalog("cura");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue