summaryrefslogtreecommitdiff
path: root/plugingui/statusframecontent.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-09-29 15:05:32 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2019-09-29 15:05:32 +0200
commit6f88fd56fae4317306c4134f5854fe1b5379d075 (patch)
tree12085cda4d5543a5317ee200b5e72c751ec92c32 /plugingui/statusframecontent.cc
parent9d1ea1e7cfa256c7f5cac027382d92f658734ccb (diff)
Show load errors/warnings under the resta of the status fields in the UI.
Diffstat (limited to 'plugingui/statusframecontent.cc')
-rw-r--r--plugingui/statusframecontent.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugingui/statusframecontent.cc b/plugingui/statusframecontent.cc
index d457dee..2dc8420 100644
--- a/plugingui/statusframecontent.cc
+++ b/plugingui/statusframecontent.cc
@@ -73,7 +73,8 @@ void StatusframeContent::updateContent()
"Drumkit description: " + drumkit_description + "\n"
// "Drumkit version: " + drumkit_version + "\n"
"Session buffer size: " + buffer_size + "\n"
- "Number of underruns: " + number_of_underruns + "\n"
+ "Number of underruns: " + number_of_underruns + "\n" +
+ messages
);
}
@@ -156,7 +157,8 @@ void StatusframeContent::updateNumberOfUnderruns(std::size_t number_of_underruns
void StatusframeContent::loadStatusTextChanged(const std::string& text)
{
- text_field.setText(text);
+ messages = text;
+ updateContent();
}
} // GUI::