Disable the room settings save button for now
This commit is contained in:
parent
c8ce50a01c
commit
55506dd10e
|
@ -3,18 +3,18 @@ import QtQuick.Layouts 1.12
|
||||||
import "../../Base"
|
import "../../Base"
|
||||||
import "../../utils.js" as Utils
|
import "../../utils.js" as Utils
|
||||||
|
|
||||||
// TODO: expand pane if too small
|
// TODO: expand pane if too small, scrollable, loader
|
||||||
|
|
||||||
HBox {
|
HBox {
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
// Component.onCompleted: Utils.debug(this) // XXX
|
|
||||||
|
|
||||||
buttonModel: [
|
buttonModel: [
|
||||||
{
|
{
|
||||||
name: "apply",
|
name: "apply",
|
||||||
text: qsTr("Save"),
|
text: qsTr("Save"),
|
||||||
iconName: "apply",
|
iconName: "apply",
|
||||||
enabled: anyChange,
|
// enabled: anyChange, TODO
|
||||||
|
enabled: false,
|
||||||
loading: saveFuture !== null,
|
loading: saveFuture !== null,
|
||||||
disableWhileLoading: false,
|
disableWhileLoading: false,
|
||||||
},
|
},
|
||||||
|
@ -29,6 +29,7 @@ HBox {
|
||||||
buttonCallbacks: ({
|
buttonCallbacks: ({
|
||||||
apply: button => {
|
apply: button => {
|
||||||
if (saveFuture) saveFuture.cancel()
|
if (saveFuture) saveFuture.cancel()
|
||||||
|
// TODO
|
||||||
},
|
},
|
||||||
|
|
||||||
cancel: button => {
|
cancel: button => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user