Commit 02fb033b authored by John's avatar John
Browse files

assign src_download_link to url

parent 09d17d83
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@ class SourceDownload:
        if 'https://' not in self.url:
            self.url = 'https://' + self.url

    def PassUrlToImgTransProj(self):
        self.imgtrans_proj.src_download_link = self.url

    def FetchImages(self):
        config.load()
        job = DownloadJob(self.url)
@@ -34,6 +37,7 @@ class SourceDownload:

            self.ValidateUrl()
            self.FetchImages()
            self.PassUrlToImgTransProj()

            proj_path = self.ReturnFullPathToProject()
            LOGGER.info(f'Project path set to {proj_path}')
+0 −2
Original line number Diff line number Diff line
@@ -444,8 +444,6 @@ class ConfigPanel(Widget):
    def on_effect_flag_changed(self):
        self.config.let_fnteffect_flag = self.let_effect_combox.currentIndex()

    # def on_source_flag_changed(self):
    #     self.config.src_choice_flag = self.src_choice_combox.currentIndex()

    def on_source_link_changed(self):
        self.config.src_link_flag = self.src_link_textbox.text()