The "Copy To" button in compiler options is used to copy libraries or paths between targets. Because of this, if you click on it when there is no project (i.e., you are editing the global compiler options) it just returns silently, as you can see in this code fragment:
void CompilerOptionsDlg::OnCopyDirsClick(cb_unused wxCommandEvent& event) { if (!m_pProject) return;
This confuses the user, as seen in the forum.
The attached patch disables the "Copy To" button if there is no project.
How is this going, is there any concern?
You are dev now, you can take the credit in the commit log :)
I am not concerned by the credit, you took care of the ticket when I was not a dev and I respect ownership. My main concern was if you had a better solution (p.e. hiding the button instead of disabling). If there is no objections I will commit the current patch tomorrow.
na, i am fine with this!
Applied in [r12581]
Related
Commit: [r12581]