mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-22 14:07:15 +02:00
Fixing Python module builds
This commit is contained in:
@@ -22,13 +22,12 @@
|
|||||||
|
|
||||||
#include "edtShapeService.h"
|
#include "edtShapeService.h"
|
||||||
#include "edtMainService.h"
|
#include "edtMainService.h"
|
||||||
#include "layLayoutViewBase.h"
|
#include "layLayoutView.h"
|
||||||
#include "dbEdgeProcessor.h"
|
#include "dbEdgeProcessor.h"
|
||||||
#include "dbPolygonTools.h"
|
#include "dbPolygonTools.h"
|
||||||
|
|
||||||
#if defined(HAVE_QT)
|
#if defined(HAVE_QT)
|
||||||
# include "edtPropertiesPages.h"
|
# include "edtPropertiesPages.h"
|
||||||
# include "layLayoutView.h"
|
|
||||||
# include "layTipDialog.h"
|
# include "layTipDialog.h"
|
||||||
# include "layEditorOptionsPages.h"
|
# include "layEditorOptionsPages.h"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
#include "layLayoutViewBase.h"
|
#include "layLayoutViewBase.h"
|
||||||
#include "layEditable.h"
|
#include "layEditable.h"
|
||||||
#include "tlException.h"
|
#include "tlException.h"
|
||||||
|
#include "tlInternational.h"
|
||||||
|
|
||||||
#if defined(HAVE_QT)
|
#if defined(HAVE_QT)
|
||||||
# include <QMessageBox>
|
# include <QMessageBox>
|
||||||
@@ -102,7 +103,7 @@ set_or_request_current_layer (lay::LayoutViewBase *view, const db::LayerProperti
|
|||||||
view->init_layer_properties (lpn);
|
view->init_layer_properties (lpn);
|
||||||
|
|
||||||
{
|
{
|
||||||
db::Transaction transaction (! view->manager ()->transacting () ? view->manager () : 0, tl::to_string (QObject::tr ("Create new layer")));
|
db::Transaction transaction (! view->manager ()->transacting () ? view->manager () : 0, tl::to_string (tr ("Create new layer")));
|
||||||
|
|
||||||
lay::LayerPropertiesConstIterator lpi = lay::LayerPropertiesConstIterator (& view->insert_layer (view->end_layers (), lpn));
|
lay::LayerPropertiesConstIterator lpi = lay::LayerPropertiesConstIterator (& view->insert_layer (view->end_layers (), lpn));
|
||||||
if (make_current) {
|
if (make_current) {
|
||||||
|
|||||||
Reference in New Issue
Block a user