mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 09:33:57 -07:00
fix compile failure
This commit is contained in:
parent
ef8412ae4b
commit
4aecec45d7
2 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ void TabDeckEditor::loadLayout()
|
|||
{
|
||||
LayoutsSettings &layouts = SettingsCache::instance().layouts();
|
||||
|
||||
auto &layoutState = layouts.getDeckEditorLayoutState();
|
||||
auto layoutState = layouts.getDeckEditorLayoutState();
|
||||
if (layoutState.isNull())
|
||||
restartLayout();
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -273,7 +273,7 @@ void TabDeckEditorVisual::refreshShortcuts()
|
|||
void TabDeckEditorVisual::loadLayout()
|
||||
{
|
||||
LayoutsSettings &layouts = SettingsCache::instance().layouts();
|
||||
auto &layoutState = layouts.getDeckEditorLayoutState();
|
||||
auto layoutState = layouts.getDeckEditorLayoutState();
|
||||
if (layoutState.isNull()) {
|
||||
restartLayout();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue