summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/controller.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-01 15:31:49 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-01 15:33:04 +0100
commit787c2aaaa5ee256a9467aef73f61887b93894ec9 (patch)
treeda8e7b8c086859963e8ebd70b35f1c5f825b4a8d /framework/src/domain/controller.cpp
parent3b0008b8075f51f18bb50bd8a01e6b03b7bc540a (diff)
downloadkube-787c2aaaa5ee256a9467aef73f61887b93894ec9.tar.gz
kube-787c2aaaa5ee256a9467aef73f61887b93894ec9.zip
Fixed the foundAllKeys feature in the composer
setProperty doesn't work anymore for some reason, so we use a regular Q_PROPERTY. We have to explicitly reference the composerController variable, otherwise cc/bcc refernces don't work.
Diffstat (limited to 'framework/src/domain/controller.cpp')
-rw-r--r--framework/src/domain/controller.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/src/domain/controller.cpp b/framework/src/domain/controller.cpp
index 226615ad..09fe0b9d 100644
--- a/framework/src/domain/controller.cpp
+++ b/framework/src/domain/controller.cpp
@@ -123,6 +123,7 @@ void ListPropertyController::remove(const QByteArray &id)
123 break; 123 break;
124 } 124 }
125 } 125 }
126 emit removed(id);
126 if (mModel->rowCount() <= 0) { 127 if (mModel->rowCount() <= 0) {
127 emit emptyChanged(); 128 emit emptyChanged();
128 } 129 }