File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1262,9 +1262,11 @@ void MainWindow::saveDebug() const {
12621262
12631263void MainWindow::saveSettings () {
12641264 if (opts.useSettings ) {
1265- m_config->setValue (SETTING_WINDOW_POSITION , pos ());
1266- m_config->setValue (SETTING_WINDOW_GEOMETRY , saveGeometry ());
1267- m_config->setValue (SETTING_WINDOW_STATE , saveState ());
1265+ if (m_fullscreen == FULLSCREEN_NONE ) {
1266+ m_config->setValue (SETTING_WINDOW_POSITION , pos ());
1267+ m_config->setValue (SETTING_WINDOW_GEOMETRY , saveGeometry ());
1268+ m_config->setValue (SETTING_WINDOW_STATE , saveState ());
1269+ }
12681270 m_config->setValue (SETTING_CURRENT_DIR , m_dir.absolutePath ());
12691271 m_config->setValue (SETTING_DEBUGGER_FLASH_BYTES , ui->flashBytes ->value ());
12701272 m_config->setValue (SETTING_DEBUGGER_RAM_BYTES , ui->ramBytes ->value ());
You can’t perform that action at this time.
0 commit comments