Closed in3otd closed 9 years ago
The crash is happened when you focus on the textedit of component property, and try to close file. Directly call slotHideEdit()
will cause crash though the reason is not clear.
Add one line of editText->clearFocus();
can solve this problem.
But there is more, in some place of qucs.cpp it still call editText->setHidden(true);
, they will still crash. So we need to change all direct call to call slotHideEdit()
Fixed by #243
I get "random" crashes, when closing a Tab. Did not yet find a repeatable sequence to reproduce the bug, but after opening/simulating/closing a few tab Qucs crashes. Here is a gdb backtrace of a crash happened when closing a tab, don't know how valid it is