Show the Visualizer immediately if it's the initial screen

master
Andrzej Rybczak 5 years ago
parent 40c40d8c7f
commit 679cc7a2cb
  1. 1
      CHANGELOG.md
  2. 3
      src/ncmpcpp.cpp
  3. 1
      src/screens/visualizer.cpp

@ -3,6 +3,7 @@
* Fix intermittent failures of the Genius fetcher.
* Fix crash on startup with Visualizer as the initial screen.
* Fix crash on startup with Browser as the initial screen.
* Show the Visualizer immediately if it's the initial screen.
# ncmpcpp-0.9 (2020-12-20)
* Fix various Mopidy specific bugs.

@ -189,6 +189,9 @@ int main(int argc, char **argv)
Mpd.Disconnect();
throw MPD::ClientError(MPD_ERROR_STATE, "MPD < 0.16.0 is not supported", false);
}
// Once the connection is established, run full Status::trace to set a
// proper window timeout, initialize status etc.
Status::trace(true, true);
}
catch (MPD::ClientError &e)
{

@ -104,7 +104,6 @@ void Visualizer::switchTo()
{
SwitchTo::execute(this);
Clear();
OpenDataSource();
m_reset_output = true;
drawHeader();
# ifdef HAVE_FFTW3_H

Loading…
Cancel
Save