mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-08-13 10:04:13 +02:00
Merge pull request #670 from IBSYSLevi/fix/projectview_corner_Layout_crash
Fix crash when opening a project: invalid index in corner layout
This commit is contained in:
@@ -842,7 +842,7 @@ void ProjectView::initWidgets()
|
|||||||
QHBoxLayout *TopRightCorner_Layout = new QHBoxLayout();
|
QHBoxLayout *TopRightCorner_Layout = new QHBoxLayout();
|
||||||
TopRightCorner_Layout->setContentsMargins(0,0,0,0);
|
TopRightCorner_Layout->setContentsMargins(0,0,0,0);
|
||||||
// some place left to the 'next_right_view_button' button
|
// some place left to the 'next_right_view_button' button
|
||||||
TopRightCorner_Layout->insertSpacing(1,10);
|
TopRightCorner_Layout->addSpacing(10);
|
||||||
|
|
||||||
QHBoxLayout *TopLeftCorner_Layout = new QHBoxLayout();
|
QHBoxLayout *TopLeftCorner_Layout = new QHBoxLayout();
|
||||||
TopLeftCorner_Layout->setContentsMargins(0,0,0,0);
|
TopLeftCorner_Layout->setContentsMargins(0,0,0,0);
|
||||||
|
|||||||
Reference in New Issue
Block a user