Fixing Python module builds

This commit is contained in:
Matthias Koefferlein 2025-08-31 19:38:22 +02:00
parent 84c518b057
commit a7518f5452
2 changed files with 3 additions and 3 deletions

View File

@ -22,13 +22,12 @@
#include "edtShapeService.h"
#include "edtMainService.h"
#include "layLayoutViewBase.h"
#include "layLayoutView.h"
#include "dbEdgeProcessor.h"
#include "dbPolygonTools.h"
#if defined(HAVE_QT)
# include "edtPropertiesPages.h"
# include "layLayoutView.h"
# include "layTipDialog.h"
# include "layEditorOptionsPages.h"
#endif

View File

@ -32,6 +32,7 @@
#include "layLayoutViewBase.h"
#include "layEditable.h"
#include "tlException.h"
#include "tlInternational.h"
#if defined(HAVE_QT)
# include <QMessageBox>
@ -102,7 +103,7 @@ set_or_request_current_layer (lay::LayoutViewBase *view, const db::LayerProperti
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));
if (make_current) {