Commit 2a9ed48b authored by magho's avatar magho

added crash debug button

parent dd26b75a
......@@ -64,6 +64,10 @@ Select a component via a section module to add the item to your cart."""
self.goto_balance_button.clicked.connect(lambda : self.parent.show_frame('Balance'))
self.navigation_buttons.addWidget(self.goto_balance_button)
self.crash_button = QtWidgets.QPushButton("Crash program", self)
self.crash_button.clicked.connect(lambda : exit())
self.navigation_buttons.addWidget(self.crash_button)
self.layout.addLayout(self.navigation_buttons)
# Install a custom eventFilter to focus switch to search when starting to write
......
Markdown is supported
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