Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6c1176a0 authored by Wolthera van Hövell's avatar Wolthera van Hövell 🛍

CPMT: Open the new project after you create it.

parent 31c48ac7
......@@ -812,6 +812,13 @@ class comics_project_manager_docker(DockWidget):
def slot_new_project(self):
setup = comics_project_setup_wizard.ComicsProjectSetupWizard()
setup.showDialog()
self.path_to_config = os.path.join(setup.projectDirectory, "comicConfig.json")
if os.path.exists(self.path_to_config) is True:
configFile = open(self.path_to_config, "r", newline="", encoding="utf-16")
self.setupDictionary = json.load(configFile)
self.projecturl = os.path.dirname(str(self.path_to_config))
configFile.close()
self.load_config()
"""
This is triggered by any document save.
It checks if the given url in in the pages list, and if so,
......
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