We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1938dd5 commit b92bbafCopy full SHA for b92bbaf
src/Widgets/Terminal.vala
@@ -130,8 +130,7 @@ public class Code.Terminal : Gtk.Box {
130
Posix.kill (child_pid, Posix.Signal.TERM);
131
terminal.reset (true, true);
132
spawn_shell (dir);
133
- var settings = new Settings (Constants.PROJECT_NAME + ".saved-state");
134
- settings.set_string ("last-opened-path", dir);
+ Scratch.saved_state.set_string ("last-opened-path", dir);
135
}
136
137
private string get_shell_location () {
0 commit comments