Skip to content

Commit

Permalink
Merge pull request #713 from charlesrocket/bp-fix3768
Browse files Browse the repository at this point in the history
qt: avoid auto-updating window width when it's in full screen or when it's maximized (#3771)
  • Loading branch information
charlesrocket committed Oct 20, 2020
2 parents bc14fe5 + a3a61f8 commit e72e735
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1171,6 +1171,9 @@ void BitcoinGUI::updatePrivateSendVisibility()

void BitcoinGUI::updateWidth()
{
if (windowState() & (Qt::WindowMaximized | Qt::WindowFullScreen)) {
return;
}
int nWidthWidestButton{0};
int nButtonsVisible{0};
for (QAbstractButton* button : tabGroup->buttons()) {
Expand Down

0 comments on commit e72e735

Please sign in to comment.