From 6f88fd56fae4317306c4134f5854fe1b5379d075 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 29 Sep 2019 15:05:32 +0200 Subject: Show load errors/warnings under the resta of the status fields in the UI. --- plugingui/statusframecontent.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugingui/statusframecontent.cc') 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:: -- cgit v1.2.3