Commit 2a9ed48b authored by magho's avatar magho
Browse files

added crash debug button

parent dd26b75a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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