Skip to content

Commit a40541f

Browse files
committed
Removed line number from invoking the editor due to bug in PyCharm 2026.2
1 parent 9cca87f commit a40541f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

DemoPrograms/Browser_START_HERE_Demo_Programs_Browser.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import warnings
1111
import PySimpleGUI as sg
1212

13-
version = '6.0.1'
13+
version = '6.0.2'
1414
__version__ = version.split()[0]
1515

1616

@@ -54,6 +54,7 @@
5454
5.3.0 15-Aug-2024 One last change for the new path input... clear other fields if chars are entered
5555
6.0 8-Apr-2026 Major version bump to match the commercial to LGPL3 license change
5656
6.0.1 9-Apr-2026 Set the likely location of the demo programs as the initial path in the settings window
57+
6.0.2 26-Jul-2026 Temp removed line number. PyCharm 2026.2 doesn't launch when using line number. Will change back in the future
5758
5859
Copyright 2018-2026 PySinpleGUI. All rights reserved.
5960
"""
@@ -909,7 +910,8 @@ def main():
909910
sg.execute_command_subprocess(editor_program, f'"{full_filename}"')
910911
else:
911912
try:
912-
sg.execute_editor(full_filename, line_number=int(line))
913+
sg.execute_editor(full_filename) # 26-Jul-2026 - Temp removed line number. PyCharm 2026.2 doesn't launch when using line number
914+
# sg.execute_editor(full_filename, line_number=int(line))
913915
except:
914916
sg.execute_command_subprocess(editor_program, f'"{full_filename}"')
915917
else:

0 commit comments

Comments
 (0)