mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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.
This commit is contained in:
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…
Reference in New Issue
Block a user