Skip to content

Commit

Permalink
fix: [desktop] the view setting dialog lost focus
Browse files Browse the repository at this point in the history
  • Loading branch information
itsXuSt committed Sep 3, 2024
1 parent 35dbae6 commit b09c77c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ QLayout *OrganizationGroup::buildTypeLayout()
for (QWidget *wid : list) {
wid->setFixedHeight(kCheckEntryHeight);
gridLayout->addWidget(wid, row, col, Qt::AlignTop);
wid->setVisible(true); // requiring widget to be visible when layout calculates sizehint.
// this line makes the setting widget lose focus, Commenting this line seems to have no effect
// wid->setVisible(true); // requiring widget to be visible when layout calculates sizehint.
++index;
row = index / 3;
col = index % 3;
Expand Down

0 comments on commit b09c77c

Please sign in to comment.