1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 16:34:45 -04:00

Save auto stack workspaces status in configuration

This commit is contained in:
f4exb
2022-05-19 15:48:14 +02:00
parent cce023bf56
commit 9e4b5bda56
6 changed files with 47 additions and 8 deletions
+10
View File
@@ -688,6 +688,16 @@ void Workspace::restoreMdiGeometry(const QByteArray& blob)
m_mdi->restoreGeometry(qUncompress(blob));
}
bool Workspace::getAutoStackOption() const
{
return m_autoStackSubWindows->isChecked();
}
void Workspace::setAutoStackOption(bool autoStack)
{
m_autoStackSubWindows->doToggle(autoStack);
}
void Workspace::adjustSubWindowsAfterRestore()
{
QList<QMdiSubWindow *> subWindowList = m_mdi->subWindowList();