summaryrefslogtreecommitdiff
path: root/muse2/muse/arranger/alayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/arranger/alayout.h')
-rw-r--r--muse2/muse/arranger/alayout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/arranger/alayout.h b/muse2/muse/arranger/alayout.h
index 616c94c1..8ba1a829 100644
--- a/muse2/muse/arranger/alayout.h
+++ b/muse2/muse/arranger/alayout.h
@@ -25,6 +25,7 @@ class TLLayout : public QLayout
{
Q_OBJECT
+ bool _inSetGeometry;
QList<QLayoutItem*> ilist;
QLayoutItem* li[6];
QScrollBar* sb;
@@ -32,7 +33,7 @@ class TLLayout : public QLayout
public:
//TLLayout(QWidget *parent) : QLayout(parent, 0, -1) {}
- TLLayout(QWidget *parent) : QLayout(parent) { setContentsMargins(0, 0, 0, 0); setSpacing(-1); }
+ TLLayout(QWidget *parent) : QLayout(parent) { _inSetGeometry = false; setContentsMargins(0, 0, 0, 0); setSpacing(-1); }
~TLLayout() { clear(); }
void addItem(QLayoutItem *item) { ilist.append(item); }