mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-30 18:20:19 +03:00
Warn before closing terminal that is running some process (SpartanJ/ecode#644), probably still WIP, not tested outside Linux (it might not build).
Build ecode with -g1, it should improve crash information. Regain editor focus after escaping from settings menu. Prevent crash when during widget splitting (couldn't reproduce it but this just avoid crashing, SpartanJ/ecode#650).
This commit is contained in:
@@ -222,6 +222,7 @@ void AppConfig::load( const std::string& confPath, std::string& keybindingsPath,
|
||||
term.unsupportedOSWarnDisabled =
|
||||
ini.getValueB( "terminal", "unsupported_os_warn_disabled", false );
|
||||
term.closeTerminalTabOnExit = ini.getValueB( "terminal", "close_terminal_tab_on_exit", false );
|
||||
term.warnBeforeClosingTab = ini.getValueB( "terminal", "warn_before_closing_tab", true );
|
||||
|
||||
workspace.restoreLastSession = ini.getValueB( "workspace", "restore_last_session", false );
|
||||
workspace.checkForUpdatesAtStartup =
|
||||
@@ -380,6 +381,7 @@ void AppConfig::save( const std::vector<std::string>& recentFiles,
|
||||
ini.setValue( "terminal", "scrollback", String::toString( term.scrollback ) );
|
||||
ini.setValueB( "terminal", "unsupported_os_warn_disabled", term.unsupportedOSWarnDisabled );
|
||||
ini.setValueB( "terminal", "close_terminal_tab_on_exit", term.closeTerminalTabOnExit );
|
||||
ini.setValueB( "terminal", "warn_before_closing_tab", term.warnBeforeClosingTab );
|
||||
|
||||
ini.setValueB( "window", "vsync", context.VSync );
|
||||
ini.setValue( "window", "glversion",
|
||||
|
||||
Reference in New Issue
Block a user