Gui: Add functionality to enable/disable block shape cursor in text editor and console

This commit is contained in:
marioalexis
2022-01-26 00:07:47 -03:00
committed by wwmayer
parent 4b2e707018
commit ec167207bf
6 changed files with 88 additions and 16 deletions

View File

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