[ui] ImageGallery: fix 'readOnly' behavior

* properly propagate readOnly state + disable high-level modifications on ImageGallery when graph is being computed
* tweak ImageGallery initial width
This commit is contained in:
Yann Lanthony 2018-05-28 15:51:16 +02:00
parent 2f2390e465
commit c606c1d3e2
4 changed files with 28 additions and 16 deletions

View file

@ -382,10 +382,11 @@ ApplicationWindow {
WorkspaceView {
id: workspaceView
reconstruction: _reconstruction
Layout.fillWidth: true
Layout.fillHeight: true
Layout.minimumHeight: 50
reconstruction: _reconstruction
readOnly: _reconstruction.computing
onRequestGraphAutoLayout: graphEditor.doAutoLayout()
}
}