Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Calling self.close doesn't close the modern window #19

Closed
Jerakin opened this issue Aug 4, 2019 · 0 comments · Fixed by #22
Closed

Calling self.close doesn't close the modern window #19

Jerakin opened this issue Aug 4, 2019 · 0 comments · Fixed by #22

Comments

@Jerakin
Copy link
Collaborator

Jerakin commented Aug 4, 2019

I have a window that I load with

def main():
    app = QtWidgets.QApplication(sys.argv)  # Create an instance of QtWidgets.QApplication
    win = MainWindow()  # Create an instance of our class
    qtmodern.styles.dark(app)
    mw = qtmodern.windows.ModernWindow(win)
    mw.show()
    sys.exit(app.exec_())

When I in MainWindow() call self.close it leave a window behind and doesn't fully close the app.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant