Commit d771741d authored by Don Gagne's avatar Don Gagne

Better console output

parent b8e67980
......@@ -119,9 +119,9 @@ FactPanel {
}
}
function __checkForEarlyDialog() {
function __checkForEarlyDialog(title) {
if (!completedSignalled) {
console.warn("showDialog|Message called before QGCView.completed signalled")
console.warn("showDialog|Message called before QGCView.completed signalled", title)
}
}
......@@ -131,7 +131,7 @@ FactPanel {
/// @param charWidth Width of dialog in characters (-1 for full parent width)
/// @param buttons Buttons to show in dialog using StandardButton enum
function showDialog(component, title, charWidth, buttons) {
if (__checkForEarlyDialog()) {
if (__checkForEarlyDialog(title)) {
return
}
......@@ -150,7 +150,7 @@ FactPanel {
}
function showMessage(title, message, buttons) {
if (__checkForEarlyDialog()) {
if (__checkForEarlyDialog(title)) {
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment