Fix LayoutSaver not restoring geometry correctly
"normalGeometry" was repeated twice due to typo
This commit is contained in:
@@ -229,7 +229,7 @@ void from_json(const nlohmann::json &json, LayoutSaver::FloatingWindow &window)
|
||||
{
|
||||
window.multiSplitterLayout = json.value("multiSplitterLayout", LayoutSaver::MultiSplitter());
|
||||
window.parentIndex = json.value("parentIndex", -1);
|
||||
window.geometry = json.value("normalGeometry", QRect());
|
||||
window.geometry = json.value("geometry", QRect());
|
||||
window.normalGeometry = json.value("normalGeometry", QRect());
|
||||
window.screenIndex = json.value("screenIndex", 0);
|
||||
window.screenSize = json.value("screenSize", QSize(800, 600));
|
||||
|
||||
Reference in New Issue
Block a user