Gui: move Python console specific settings to its own tab because General is quite overloaded

This commit is contained in:
wmayer
2022-02-21 17:49:27 +01:00
parent 39c03863b5
commit 71a6ffde35
7 changed files with 244 additions and 69 deletions

View File

@@ -139,8 +139,6 @@ void DlgGeneralImp::saveSettings()
ui->RecentFiles->onSave();
ui->EnableCursorBlinking->onSave();
ui->SplashScreen->onSave();
ui->PythonWordWrap->onSave();
ui->PythonBlockCursor->onSave();
QWidget* pc = DockWindowManager::instance()->getDockWindow("Python console");
PythonConsole *pcPython = qobject_cast<PythonConsole*>(pc);
@@ -209,8 +207,6 @@ void DlgGeneralImp::loadSettings()
ui->RecentFiles->onRestore();
ui->EnableCursorBlinking->onRestore();
ui->SplashScreen->onRestore();
ui->PythonWordWrap->onRestore();
ui->PythonBlockCursor->onRestore();
// search for the language files
ParameterGrp::handle hGrp = WindowParameter::getDefaultParameter()->GetGroup("General");