-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Searchboxes fix crash #3
Conversation
If a library component does not match one of the types in SymbolWidget::createSymbol, the variables x1, x2, y1, y2 may end up with unknown values. This can cause the `setMinimumSize` to fail a bound size assertion crashing the application. This patch add default values for these variables.
thanks for the patch; I tried to understand why this fix works/why it didn't reliably work before, but cannot get it. AFAIU, |
Just found out what you are missing. I was using a user library with components with unexpected components... I have a library with Ok, now I noticed that the symbol is not shown for the very same reason... |
oh, thanks! Yes, I agree the current code is not doing the Right Thing, just I did not understand why it should not work with a proper library. And surely the current code could be more robust against that. |
Issue warning message in case a (user) library contains a component which its symbols is not yet mapped or implemented in qucs-lib. The component may be implemented correctly in qucs, but its symbol is not matched (and drawn) in qucs-lib. The painting code is somewhat duplicated.
Connecting from COMPAT signal (QAction::activated(int))
This should be a bit more robust now. |
oh, I realize now I forgot to merge all this 😬 ...I think GitHub notifications should have a "mark as unread" button, to help avoiding to forget things. |
No description provided.