Skip to content

Commit

Permalink
fix tab
Browse files Browse the repository at this point in the history
  • Loading branch information
zdimension committed May 8, 2018
1 parent 062e40a commit 3fd5fd4
Show file tree
Hide file tree
Showing 2 changed files with 59,267 additions and 59,267 deletions.
4 changes: 2 additions & 2 deletions src/forms/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,15 +817,15 @@ def handler_Run(flag=False):

def handler_ConvertToPython():
py_code = "\n".join(AppState.algo.python())
GuiState.code_editor.setPlainText(py_code, "", "")
GuiState.code_editor.setPlainText(py_code.replace("\t", " "), "", "")
AppState.mode_python = True
AppState.current_file = None
refresh()


def algo_run_python():
py_code = "\n".join(AppState.algo.python())
GuiState.code_editor.setPlainText(py_code, "", "")
GuiState.code_editor.setPlainText(py_code.replace("\t", " "), "", "")
AppState.mode_python = True
handler_Run()
AppState.mode_python = False
Expand Down
Loading

0 comments on commit 3fd5fd4

Please sign in to comment.