fix
This commit is contained in:
@@ -104,7 +104,7 @@ class Gui:
|
|||||||
|
|
||||||
if file_is_empty:
|
if file_is_empty:
|
||||||
sg.popup_annoying('Our interpreter did not find anything. --> blame Kons or yourself!', title='Empty')
|
sg.popup_annoying('Our interpreter did not find anything. --> blame Kons or yourself!', title='Empty')
|
||||||
if path:
|
elif path:
|
||||||
fnames = output(path)
|
fnames = output(path)
|
||||||
sg.popup_annoying('Successfully created!', title='Created',
|
sg.popup_annoying('Successfully created!', title='Created',
|
||||||
auto_close_duration=2, auto_close=True, text_color='green')
|
auto_close_duration=2, auto_close=True, text_color='green')
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ class NassiShneidermanDiagram:
|
|||||||
def convert_to_image(self, output_path: str, on_conflict: Overwrite_behaviour=OB.SKIP) -> bool:
|
def convert_to_image(self, output_path: str, on_conflict: Overwrite_behaviour=OB.SKIP) -> bool:
|
||||||
i = 0
|
i = 0
|
||||||
for scope in self.function_scopes:
|
for scope in self.function_scopes:
|
||||||
cancel = one_line_progress_meter('Progress', i, len(self.function_scopes), '-PROGRESSBAR-')
|
cancel = one_line_progress_meter('Progress', i+1, len(self.function_scopes), '-PROGRESSBAR-')
|
||||||
if not cancel:
|
if not cancel:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user