Commit 33f77175 authored by Clinton Stimpson's avatar Clinton Stimpson
Browse files

ENH:  Save/restore splitter sizes.  Fixes #9070.
parent b64aadc5
......@@ -77,6 +77,9 @@ CMakeSetupDialog::CMakeSetupDialog()
this->ProgressBar->reset();
this->RemoveEntry->setEnabled(false);
this->AddEntry->setEnabled(false);
QByteArray p = settings.value("SplitterSizes").toByteArray();
this->Splitter->restoreState(p);
bool groupView = settings.value("GroupView", false).toBool();
if(groupView)
......@@ -255,6 +258,7 @@ CMakeSetupDialog::~CMakeSetupDialog()
settings.beginGroup("Settings/StartPath");
settings.setValue("Height", this->height());
settings.setValue("Width", this->width());
settings.setValue("SplitterSizes", this->Splitter->saveState());
// wait for thread to stop
this->CMakeThread->quit();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment