mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-28 14:20:30 +00:00
Qt: Fix saving toolbar locked state (#3458)
This commit is contained in:
parent
40c495cd19
commit
29ec2fea19
@ -1311,7 +1311,7 @@ void MainWindow::onViewToolbarActionToggled(bool checked)
|
|||||||
|
|
||||||
void MainWindow::onViewToolbarLockActionToggled(bool checked)
|
void MainWindow::onViewToolbarLockActionToggled(bool checked)
|
||||||
{
|
{
|
||||||
Host::SetBaseBoolSettingValue("UI", "LockToolbar", !checked);
|
Host::SetBaseBoolSettingValue("UI", "LockToolbar", checked);
|
||||||
Host::CommitBaseSettingChanges();
|
Host::CommitBaseSettingChanges();
|
||||||
m_ui.toolBar->setMovable(!checked);
|
m_ui.toolBar->setMovable(!checked);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user