Skip to content

Commit

Permalink
quit button for console functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas2000 committed May 5, 2021
1 parent ce04a07 commit f143bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/resources/backend/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Console(QMainWindow,QWidget,QObject):


def __init__(self,fmqueue,msgQueue):
def Iquit(self):
def quitfn(self):
msgQueue.put("#QUIT")
super(Console, self).__init__()

Expand All @@ -45,7 +45,7 @@ def Iquit(self):
self.quitBtn.move(50, 50)
self.quitBtn.setText("Quit!")
self.ToolBar.addWidget(self.quitBtn)
self.quitBtn.clicked.connect(Iquit)
self.quitBtn.clicked.connect(quitfn)
#------------------------------------------------------------------------------------#
self.console = QVBoxLayout()
self.toolbar = QToolBar()
Expand Down

0 comments on commit f143bef

Please sign in to comment.