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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user