TerminalSettings: Ensure automark setting is reverted on cancel

This commit is contained in:
Tim Ledbetter 2024-02-07 06:05:16 +00:00 committed by Ali Mohammad Pur
parent fa37a220d6
commit f961a0eb61
Notes: sideshowbarker 2024-07-17 07:11:12 +09:00

View File

@ -119,6 +119,7 @@ void MainWidget::write_back_settings() const
{
Config::write_bool("Terminal"sv, "Terminal"sv, "ConfirmClose"sv, m_orignal_confirm_close);
Config::write_string("Terminal"sv, "Window"sv, "Bell"sv, VT::TerminalWidget::stringify_bell(m_original_bell_mode));
Config::write_string("Terminal"sv, "Terminal"sv, "AutoMark"sv, VT::TerminalWidget::stringify_automark_mode(m_automark_mode));
}
void MainWidget::cancel_settings()