mirror of https://github.com/KLayout/klayout.git
Fixed a small problem: browser windows did not get closed when closing the window.
This commit is contained in:
parent
ede328d3cb
commit
18eadb119e
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include <QDialog>
|
||||
#include <QApplication>
|
||||
#include <QCloseEvent>
|
||||
|
||||
#include "layBrowser.h"
|
||||
#include "layLayoutViewBase.h"
|
||||
|
|
@ -81,7 +82,7 @@ Browser::closeEvent (QCloseEvent *event)
|
|||
if (active ()) {
|
||||
m_active = false;
|
||||
deactivated ();
|
||||
QDialog::closeEvent (event);
|
||||
event->accept ();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue