Bug 798815 - flatpak run --command=gnucash-cli cannot download...

quotes since 5.0.

The filename is getting stuffed into the m_quotes_cmd vector unless --namespace
is specified, so check if that's happened and copy the value over.
pull/1598/head
John Ralls 3 years ago
parent a1bec6fc01
commit efb24f090d

@ -139,6 +139,8 @@ Gnucash::GnucashCli::start ([[maybe_unused]] int argc, [[maybe_unused]] char **a
}
else if (m_quotes_cmd.front() == "get")
{
if (!m_file_to_load && m_quotes_cmd.size() == 2)
m_file_to_load = m_quotes_cmd[1];
if (!m_file_to_load || m_file_to_load->empty())
{

Loading…
Cancel
Save