Explorar el Código

Automatically select the first stack entry

Ivan Safrin hace 13 años
padre
commit
565d135998
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      IDE/Contents/Source/PolycodeConsole.cpp

+ 3 - 0
IDE/Contents/Source/PolycodeConsole.cpp

@@ -140,6 +140,9 @@ void BackTraceWindow::addBackTrace(String fileName, int lineNumber, PolycodeProj
 	entries.push_back(entry);
 	addChild(entry);
 	adjustEntries();	
+	if(entries.size() == 1) {
+		entry->Select();
+	}
 }
 
 BackTraceWindow::~BackTraceWindow() {