diff --git a/Changelog b/Changelog index 27d08cba5..5aeb2df9f 100644 --- a/Changelog +++ b/Changelog @@ -1,6 +1,3 @@ -* Unknown - Christophe Dumez - v1.3.2 - - BUGFIX: Fixed "hide top toolBar" feature - * Mon Jan 26 2009 - Christophe Dumez - v1.3.1 - BUGFIX: Torrents paused due to an I/O error were displayed as queued - BUGFIX: qBittorrent now prints backtrace in terminal when segfaulting diff --git a/src/GUI.cpp b/src/GUI.cpp index 507f6172e..be7ce1713 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -931,11 +931,13 @@ void GUI::configureSession(bool deleteOptions) { setWindowTitle(tr("qBittorrent %1", "e.g: qBittorrent v0.x").arg(QString::fromUtf8(VERSION))); } displaySpeedInTitle = new_displaySpeedInTitle; - if(options->isToolbarDisplayed()) { - toolBar->setVisible(true); - toolBar->layout()->setSpacing(7); - } else { - toolBar->setVisible(false); + if(options->isToolbarDisplayed() != toolBar->isVisible()) { + if(options->isToolbarDisplayed()) { + toolBar->setVisible(true); + toolBar->layout()->setSpacing(7); + } else { + toolBar->setVisible(false); + } } unsigned int new_refreshInterval = options->getRefreshInterval(); if(refreshInterval != new_refreshInterval) {