Skip to content

Commit

Permalink
fix(ui): restore splitter state
Browse files Browse the repository at this point in the history
Fixes qTox#4387.
This restores the state of the splitter correctly from settings.
  • Loading branch information
ezavod committed May 11, 2017
1 parent e4d4f14 commit 3240818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/contentdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ ContentDialog::ContentDialog(SettingsWidget* settingsWidget, QWidget* parent)
}

SplitterRestorer restorer(splitter);
restorer.restore(s.getDialogSettingsGeometry(), size());
restorer.restore(s.getDialogSplitterState(), size());

currentDialog = this;
setAcceptDrops(true);
Expand Down

0 comments on commit 3240818

Please sign in to comment.