mirror of https://github.com/KLayout/klayout.git
Bugfix: when debugging a modal dialog event or callback, 'run'/'stop' and 'step' was not working
This commit is contained in:
parent
a0d7ce0cd8
commit
0a453b069c
|
|
@ -3694,7 +3694,7 @@ MacroEditorDialog::stop_button_clicked ()
|
|||
{
|
||||
if (QApplication::activeModalWidget () == this) {
|
||||
// close this window if it was shown in modal mode
|
||||
accept ();
|
||||
QDialog::accept ();
|
||||
}
|
||||
|
||||
m_in_exec = false;
|
||||
|
|
@ -3760,12 +3760,9 @@ MacroEditorDialog::run (int stop_stack_depth, lym::Macro *macro)
|
|||
|
||||
if (QApplication::activeModalWidget () == this) {
|
||||
// close this window if it was shown in modal mode
|
||||
accept ();
|
||||
QDialog::accept ();
|
||||
}
|
||||
|
||||
// in a breakpoint
|
||||
m_in_breakpoint = false;
|
||||
|
||||
} else {
|
||||
|
||||
if (! macro) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue